JMS Sender
This destination connector connects to an external JMS provider and writes messages to a queue or topic. It supports both JNDI and specifying a specific connection factory. Once this connector dispatches a message, the connection to the JMS provider will be kept open and cached until the connector is stopped or an error occurs. The properties view also includes a mechanism to save configuration templates for common provider types, so that creating a new JMS Sender is as quick and easy as possible.
Supported property groups:
Item | Name | Default Value | Description |
---|---|---|---|
A | Use JNDI | No | Select Yes to use JNDI to look up a connection factory to connect to the queue or topic. Select No to specify a connection factory class without using JNDI. |
B | Provider URL | If using JNDI, enter the URL of the JNDI provider here. | |
C | Initial Context Factory | If using JNDI, enter the fully-qualified Java class name of the JNDI Initial Context Factory class here. | |
D | Connection Factory Name | If using JNDI, enter the JNDI name of the connection factory here. | |
E | Connection Factory Class | If using the generic JMS provider and not using JNDI, enter the fully-qualified Java class name of the JMS connection factory here. | |
F | Connection Properties | This table allows you to enter custom connection factory settings. The Property column is the key, while the Value column is the actual value for the setting. The specific properties used here will vary depending on what connection factory class / provider you are using. | |
G | Username | The username for accessing the queue or topic. | |
H | Password | The password for accessing the queue or topic. | |
I | Destination Type | Queue | Specify whether the destination is a queue or topic. |
J | Destination Name | The name of the queue or topic. | |
K | Client ID | The JMS client ID to use when connecting to the JMS broker. | |
L | Template | ${message.encodedData} | The actual payload to send to the JMS broker. By default the encoded data of this destination will be used. Velocity Variable Replacement is supported here. |
M | Connection Templates | This section allows you to save the current state of your JMS Sender properties into a template, which may then be restored later if you make changes, or may also be applied to other JMS Sender connectors. More information here: JMS Listener |