NextGen Knowledge Center

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:

ItemNameDefault ValueDescription
AUse JNDINoSelect 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.
BProvider URL If using JNDI, enter the URL of the JNDI provider here.
CInitial Context Factory If using JNDI, enter the fully-qualified Java class name of the JNDI Initial Context Factory class here.
DConnection Factory Name If using JNDI, enter the JNDI name of the connection factory here.
EConnection 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.
FConnection 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.
GUsername The username for accessing the queue or topic.
HPassword The password for accessing the queue or topic.
IDestination TypeQueueSpecify whether the destination is a queue or topic.
JDestination Name The name of the queue or topic.
KClient ID The JMS client ID to use when connecting to the JMS broker.
LTemplate${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.
MConnection 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