Class AnypointMQServer

java.lang.Object
com.mulesoft.extension.mq.internal.server.AnypointMQServer

public class AnypointMQServer extends Object
  • Constructor Details

    • AnypointMQServer

      public AnypointMQServer(SubscriberConfig subscriberConfig, com.mulesoft.mq.restclient.internal.Destination destination, org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback, com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker, String subscriberName, org.mule.runtime.api.scheduler.SchedulerService schedulerService)
    • AnypointMQServer

      public AnypointMQServer(SubscriberConfig subscriberConfig, com.mulesoft.mq.restclient.internal.Destination destination, org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback, com.mulesoft.mq.restclient.circuit.MQCircuitBreaker circuitBreaker, String subscriberName, org.mule.runtime.api.scheduler.SchedulerService schedulerService, int maxInflightMessages)
  • Method Details

    • start

      public void start()
    • stop

      public void stop()
    • getFlowProcessingTracker

      public FlowProcessingTracker getFlowProcessingTracker()
      Returns the flow processing tracker used by this server. This tracker is used to coordinate between message fetching and flow processing, ensuring that the subscriber doesn't fetch more messages than the flow can process.
      Returns:
      the flow processing tracker, or null if backpressure is disabled