T - the generic type of the output valueA - the generic type of the message attributespublic class LegacyPollContextAdapter<T,A> extends Object implements org.mule.runtime.extension.api.runtime.source.PollContext<T,A>
PollContext into a legacy PollContext| Constructor and Description |
|---|
LegacyPollContextAdapter(org.mule.sdk.api.runtime.source.PollContext<T,A> delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.source.PollContext.PollItemStatus |
accept(Consumer<org.mule.runtime.extension.api.runtime.source.PollContext.PollItem<T,A>> consumer) |
Optional<Serializable> |
getWatermark() |
boolean |
isSourceStopping() |
void |
onConnectionException(org.mule.runtime.api.connection.ConnectionException e) |
void |
setWatermarkComparator(Comparator<? extends Serializable> comparator) |
public org.mule.runtime.extension.api.runtime.source.PollContext.PollItemStatus accept(Consumer<org.mule.runtime.extension.api.runtime.source.PollContext.PollItem<T,A>> consumer)
public Optional<Serializable> getWatermark()
public boolean isSourceStopping()
public void setWatermarkComparator(Comparator<? extends Serializable> comparator)
Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.