| Package | Description |
|---|---|
| org.mule.jms.commons.api.exception | |
| org.mule.jms.commons.internal.operation |
| Modifier and Type | Class and Description |
|---|---|
class |
DestinationNotFoundException
Custom Exception thrown when the extension was not able to create a given
Destination |
class |
JmsAckException
ModuleException to be thrown in the cases in which acking a message fails |
class |
JmsConsumeException
ModuleException to be thrown in the cases in which the received content to be written is invalid. |
class |
JmsIllegalBodyException
ModuleException to be thrown in the cases in which a message body invalid or cannot be converted to a supported type |
class |
JmsMissingLibraryException
Exception which is thrown when a required library was not found.
|
class |
JmsPublishException
JmsExtensionException to be thrown in the cases where an error occurs when trying to publish a message |
class |
JmsSecurityException
JmsExtensionException to be thrown in the case that an Security related error occurs. |
class |
JmsSessionRecoverException
ModuleException to be thrown in the cases in which recovering a session fails |
class |
JmsTimeoutException
ModuleException that represents an error when consuming a Message but a timeout is reached before the Message arrives |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.Result<Object,JmsAttributes> |
JmsConsume.consume(JmsConfig config,
JmsTransactionalConnection connection,
String destination,
ConsumerType consumerType,
JmsAckMode ackMode,
String selector,
String contentType,
String encoding,
Long maximumWait,
TimeUnit maximumWaitUnit,
org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction) |
void |
JmsConsume.consume(JmsConfig config,
JmsTransactionalConnection connection,
String destination,
ConsumerType consumerType,
JmsAckMode ackMode,
String selector,
String contentType,
String encoding,
Long maximumWait,
TimeUnit maximumWaitUnit,
org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,JmsAttributes> completionCallback) |
void |
JmsPublish.publish(JmsConfig config,
JmsTransactionalConnection connection,
String destination,
DestinationTypeDescriptor destinationType,
JmsMessageBuilder messageBuilder,
PublisherParameters overrides,
org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction,
org.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategy sendCorrelationId,
org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> completionCallback)
Operation that allows the user to send a
Message to a JMS Destination |
void |
JmsPublishConsume.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 |
Copyright © 2022. All rights reserved.