NextGen Knowledge Center

JMS Listener

This source connector connects to an external JMS provider and reads messages from a queue or topic. It supports both JNDI and specifying a specific connection factory, as well as fine-tuned queries through a configurable selector. Once this connector is started, it will attempt to keep a persistent open connection to the JMS provider. If for any reason the connection is dropped, the connector will automatically reconnect without any intervention needed. The properties view also includes a mechanism to save configuration templates for common provider types, so that creating a new JMS Listener 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. When connecting to a topic, you can check the Durable checkbox so that all messages published to the topic will be read, regardless of whether or not a connection to the broker is active. If unchecked, only messages published while a connection is active will be read.
JDestination Name The name of the queue or topic.
KClient ID The JMS client ID to use when connecting to the JMS broker.
LReconnect Interval (ms)10000The number of milliseconds between reconnect attempts in the case that a connection error occurs.
MSelector Enter a selector expression to select specific messages from the queue/topic. Leave blank to read all messages.
NConnection Templates This section allows you to save the current state of your JMS Listener properties into a template, which may then be restored later if you make changes, or may also be applied to other JMS Listener connectors. For additional information, see JMS Connection Templates.