Java Messaging Service Connector Guide > JMS connections overview > JMS source properties
  

JMS source properties

You can configure an event source in an JMS connection.
You can configure an event source in a JMS connection and publish the connection on a Secure Agent. You can then access the event source in a process and deploy the process on a Secure Agent to consume the events generated by the event source.
To create event sources for a JMS connection, click Add Event Source on the Event Sources tab. Select the event source type as JMS Reader. You can add one or more event sources for each JMS connection that you create.
The following table describes the basic event source properties that you can configure:
Property
Description
Name
Required. The event source name that appears in the Process Designer. The name must be unique for the connection.
The name must start with an alphabet and can contain only alphabets, numbers, or hyphens (-).
Description
Optional. A description for the JMS event source that appears in the Process Designer.
Enabled
Select Yes to make the event source available immediately after it is published.
Select No to disable the event source until you are ready to use it.
Default is Yes.
The following table describes the advanced event source properties that you can configure:
Property
Description
Source Type
Required. Select the type of JMS source, such as the queue or topic that the connector will consume messages from.
Queue/Topic Name
Required. Enter the queue or topic name from which the message needs to be consumed.
Concurrent consumers
Select the default number of threads or connections to consume messages from a JMS source, such as a JMS queue or topic.
The default number of threads is 1.
Durable Subscription
Enable use durable subscription to allow a subscriber to receive messages even when the subscriber is offline or disconnected. The connection name and the event consumer name are used together to form the unique identifier for the subscription name.
Content Format
Required. Select the JMS message content type to be processed. You can select Text, XML, or JSON.
The default content format is text.
The following table describes the other settings that you can configure:
Property
Description
Other Attributes
Enter a URL-encoded list of other broker-specific attributes that you want to configure for the event source. Use the & symbol as the separator.