public interface SubscriberFactory
MQSubscriber instances| Modifier and Type | Method and Description |
|---|---|
MQSubscriber |
createSubscriber(String subscriberName,
com.mulesoft.mq.restclient.internal.Destination destination,
SubscriberAckMode ackMode,
long ackTimeout,
com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker,
org.mule.runtime.api.scheduler.SchedulerService schedulerService,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback,
int primaryRegionStatusCheckIntervalMs,
int fallbackMessagesCheckIntervalMs,
boolean fallbackFeatureSystemPropertyEnabled)
Factory method for obtaining new instances of
MQSubscriber. |
MQSubscriber createSubscriber(String subscriberName, com.mulesoft.mq.restclient.internal.Destination destination, SubscriberAckMode ackMode, long ackTimeout, com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker, org.mule.runtime.api.scheduler.SchedulerService schedulerService, org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback, int primaryRegionStatusCheckIntervalMs, int fallbackMessagesCheckIntervalMs, boolean fallbackFeatureSystemPropertyEnabled)
MQSubscriber.
Every call to this method should return new instances of the same subscriber implementation.subscriberName - the id name of the subscriber for a given applicationdestination - the destination to subscribe for messagesackMode - the SubscriberAckMode to be used by the subscriberackTimeout - the acknowledgement timeout TTL to be used when fetching messagescircuitBreaker - the MQCircuitBreaker associated to this subscriberschedulerService - the service to use when creating subscribing threadscallback - callback to be used for dispatching to the application the messages being fetchedMQSubscriberCopyright © 2025 MuleSoft, Inc.. All rights reserved.