| Package | Description |
|---|---|
| org.mule.extensions.jms.api.exception | |
| org.mule.extensions.jms.api.operation | |
| org.mule.extensions.jms.internal.connection.exception |
| 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 |
JmsPublishException
ModuleException to be thrown in the cases in which the received content to be written is invalid. |
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(JmsConnection connection,
JmsConfig config,
String destination,
ConsumerType consumerType,
AckMode ackMode,
String selector,
String contentType,
String encoding,
Long maximumWait,
TimeUnit maximumWaitUnit)
Operation that allows the user to consume a single
Message from a given Destination. |
void |
JmsPublish.publish(JmsConfig config,
JmsConnection connection,
String destination,
DestinationType destinationType,
MessageBuilder messageBuilder,
JmsPublishParameters overrides)
Operation that allows the user to send a
Message to a JMS {@link Destination |
org.mule.runtime.extension.api.runtime.operation.Result<Object,JmsAttributes> |
JmsPublishConsume.publishConsume(JmsConfig config,
JmsConnection connection,
String destination,
MessageBuilder messageBuilder,
AckMode ackMode,
long maximumWait,
TimeUnit maximumWaitUnit,
JmsPublishParameters overrides)
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 |
| Modifier and Type | Class and Description |
|---|---|
class |
ActiveMQException
Generic
JmsExtensionException thrown by the ActiveMQConnectionProvider
when an error occurs related to an ActiveMQConnectionFactory |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.