public class PollingSubscriber extends AbstractSubscriber
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_POLLING_TIMEOUT |
acknowledgementMode, acknowledgementTimeout, circuitBreaker, destination, isRunning| Constructor and Description |
|---|
PollingSubscriber(SubscriberAckMode acknowledgementMode,
long acknowledgementTimeout,
int fetchSize,
com.mulesoft.mq.restclient.internal.Destination destination,
MessageListener messageListener,
com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker,
org.mule.runtime.api.scheduler.Scheduler executor,
org.mule.runtime.core.api.source.scheduler.Scheduler schedulingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSubmitWork() |
void |
stop()
Stop the retrieval of messages from a destination
|
handleError, nackAll, nackAll, processMessage, processMessages, processMessages, start, submitWorkpublic static final int MAX_POLLING_TIMEOUT
public PollingSubscriber(SubscriberAckMode acknowledgementMode, long acknowledgementTimeout, int fetchSize, com.mulesoft.mq.restclient.internal.Destination destination, MessageListener messageListener, com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker, org.mule.runtime.api.scheduler.Scheduler executor, org.mule.runtime.core.api.source.scheduler.Scheduler schedulingStrategy)
protected void doSubmitWork()
doSubmitWork in class AbstractSubscriberpublic void stop()
MQSubscriberstop in interface MQSubscriberstop in class AbstractSubscriberCopyright © 2024 MuleSoft, Inc.. All rights reserved.