IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Enterprise Service Bus programming > JMS binding

Configure the JMS binding

All JMS bindings provide a common configuration. Depending on the type of JMS binding used, there are minor differences that are highlighted in the configuration descriptions.


JMS Messaging Domain

You can configure the binding to use point to point, or publish subscribe messaging paradigms. This determines the type of J2EE resources created by the binding.


End-Point Configuration

You can configure the JMS binding to create the required J2EE resources. Alternatively, pre-configured resources can be specified. If you configure the binding to generate required resources, it requires additional information, including connection information and destination names. The binding will either generate the following resources, or they must be defined manually, using the Integrated Solutions Console or wsadmin commands.


Security Attributes

A J2C authentication alias can be selected, for JMS providers that require authentication.


Message Correlation

The JMS bindings have three correlation schemes:

A temporary destination is created for each request, and the import receives the response using this destination. This method of correlation, results in the send and receive occurring outside any existing global transaction. The temporary destination does not provide persistent messaging, therefore the messages will not be stored on it and the server will not restart.


Recovery

The JMS binding provides the option for messages that failed, to be processed and forwarded to the failed event manager. This behavior is described in more detail in the Imports and exports chapter. It is the default behavior from version 6.2 of WebSphere ESB. In previous versions, messages that fail are rolled back and they are processed to the JMS provider receive destination. The JMS provider handles the failure. This option is still available but must be selected explicitly in the binding configuration from version 6.2 of WebSphere ESB. When using the WebSphere MQ JMS and Generic JMS binding, configure an additional connection factory when using failed event manager, so that messages can be replayed to correct destination.


Event Sequencing

The option to support event sequencing is provided in the JMS export binding. This option limits the number of threads, that can receive messages concurrently, to 1. In a clustered environment when the application is started, only one activation specification in the cluster is started. This prevents multiple servers to process messages concurrently which preserves the message sequence.

JMS binding