Class AnypointMQServiceClient
java.lang.Object
com.mulesoft.extension.mq.internal.service.AnypointMQServiceClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidack(AnypointMQConnection connection, AckToken token, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) static voidconsume(AnypointMQConnection connection, String destination, ConsumerAckMode acknowledgementMode, Long pollingTime, Long acknowledgementTimeout, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream, AnypointMQMessageAttributes> callback) static voidnack(AnypointMQConnection connection, AckToken token, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) static voidpublish(org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper, AnypointMQConnection connection, String destination, InputStream messageBodyStream, org.mule.runtime.api.metadata.MediaType mediaType, String messageId, Optional<Long> deliveryDelay, boolean sendContentType, Optional<String> messageGroupId, Map<String, Object> properties, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream, AnypointMQMessagePublishAttributes> callback)
-
Constructor Details
-
AnypointMQServiceClient
public AnypointMQServiceClient()
-
-
Method Details
-
ack
public static void ack(AnypointMQConnection connection, AckToken token, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) -
nack
public static void nack(AnypointMQConnection connection, AckToken token, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) -
consume
public static void consume(AnypointMQConnection connection, String destination, ConsumerAckMode acknowledgementMode, Long pollingTime, Long acknowledgementTimeout, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream, AnypointMQMessageAttributes> callback) -
publish
public static void publish(org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper, AnypointMQConnection connection, String destination, InputStream messageBodyStream, org.mule.runtime.api.metadata.MediaType mediaType, String messageId, Optional<Long> deliveryDelay, boolean sendContentType, Optional<String> messageGroupId, Map<String, Object> properties, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream, AnypointMQMessagePublishAttributes> callback)
-