public class JmsPublishConsume extends Object implements org.mule.runtime.api.lifecycle.Disposable
Destination and waits for a response either to the provided
ReplyTo destination or to a temporary Destination created dynamically| Constructor and Description |
|---|
JmsPublishConsume(JmsSessionManager sessionManager,
org.mule.runtime.api.scheduler.SchedulerService schedulerService) |
JmsPublishConsume(JmsSessionManager sessionManager,
org.mule.runtime.api.scheduler.SchedulerService schedulerService,
RequestReplyPatternWrapper customRequestReplyPattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
publishConsume(JmsConfig config,
JmsConnection connection,
String destination,
JmsMessageBuilder messageBuilder,
JmsPublishParameters publishParameters,
JmsConsumeParameters consumeParameters,
org.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategy sendCorrelationId,
org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo,
RequestReplyPattern requestReplyPattern,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,JmsAttributes> completionCallback)
Operation that allows the user to send a message to a JMS
Destination and waits for a response either to the provided
ReplyTo destination or to a temporary Destination created dynamically |
public JmsPublishConsume(JmsSessionManager sessionManager, org.mule.runtime.api.scheduler.SchedulerService schedulerService)
public JmsPublishConsume(JmsSessionManager sessionManager, org.mule.runtime.api.scheduler.SchedulerService schedulerService, RequestReplyPatternWrapper customRequestReplyPattern)
@OutputResolver(output=JmsOutputResolver.class) @Throws(value=JmsPublishConsumeErrorTypeProvider.class) public void publishConsume(@Config JmsConfig config, @Connection JmsConnection connection, @Placement(order=0) @Summary(value="The name of the Queue destination where the Message should be sent") String destination, @Placement(order=1) @Summary(value="A builder for the message that will be published") @ParameterGroup(name="Message",showInDsl=true) JmsMessageBuilder messageBuilder, @Placement(order=2) @ParameterGroup(name="Publish Configuration",showInDsl=true) JmsPublishParameters publishParameters, @Placement(order=3) @ParameterGroup(name="Consume Configuration",showInDsl=true) JmsConsumeParameters consumeParameters, @ConfigOverride org.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategy sendCorrelationId, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, RequestReplyPattern requestReplyPattern, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,JmsAttributes> completionCallback) throws JmsExtensionException
Destination and waits for a response either to the provided
ReplyTo destination or to a temporary Destination created dynamicallyconfig - the current DefaultJmsProducerConfigconnection - the current JmsConnectiondestination - the name of the Destination where the Message should be sentmessageBuilder - the DefaultJmsMessageBuilder used to create the Message to be sentpublishParameters - Parameter group that lets override the publish configurationconsumeParameters - Parameter group that lets override the consume configurationsendCorrelationId - options on whether to include an outbound correlation id or notcorrelationInfo - the current message's correlation infoJmsExtensionException - if an error occurspublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2023. All rights reserved.