Configuring the JMS transport

The JMS transport allows the probe to connect to and receive messages from a JMS provider.

JMS transport properties

The following table describes the properties used to configure the jmsTransport.properties file.
Table 1. JMS transport properties

Property name

Description

jmsFilter

Use this property to specify the expression for JMS servers for sending the intended messages or events to the probe.

Note: This property is only used if the probe subscribes to a topic.

initialContextFactory

Use this property to specify the context factory class name of the JMS provider.

Note: The initialContextFactory is the initial context factory for the Java™ Naming Directory Interface (JNDI) provider being used. The default is the Websphere JNDI provider.

providerURL

Use this property to specify the URL of the JMS provider.

You can specify the URL of the data store for the JNDI provider, or you can specify the path to a binding file.

Note: If you specify a binding file, always create that file using the IBM® WebSphere® MQ JMS Administration tool. In addition, copy the WebSphere jar files to the $OMNIHOME/java directory. For information about creating binding files and JMS Administration tool jar files, see the IBM WebSphere MQ documentation.

queueConnectionFactory

Use this property to specify the identifier of the queue connection factory.

queueName

Use this property to specify the names of the queues on which the consumer receives messages.

You can enter more than one queueName property in the JMS properties file. For example:
queueName=topicOne
queueName=topicTwo

topicName

Use this property to specify the names of the topics to which the consumer subscribes for messages.

You can enter more than one topicName property in the JMS properties file. For example:
topicName=topicOne
topicName=topicTwo

topicConnectionFactory

Use this property to specify the identifier of the topic connection factory.

username

Use this property to specify the user name for the JMS connection.

password

Use this property to specify the password for the JMS connection.

Note: The transport property files do not support encrypted passwords. You must specify the password in plain text.