Messaging Context Management Handler¶
Table of contents
This handler manages the MQ connection on the thread for use by the subsequent handler and library.
For details of MOM messaging, see Intersystem Messaging .
This handler performs the following processes.
- Gets MQ connection
- Releases MQ connection
The process flow is as follows.

Module list¶
<dependency>
<groupId>com.nablarch.framework</groupId>
<artifactId>nablarch-fw-messaging</artifactId>
</dependency>
Constraints¶
None.
Configure the connection destination of MQ¶
This handler acquires the MQ connection using the provider class ( MessagingProvider implementation class) configured in the messagingProvider property.
A configuration example is shown below. For the configuration contents of provider class, refer to Javadoc of the implementation class MessagingProvider .
<!-- Message context management handler-->
<component class="nablarch.fw.messaging.handler.MessagingContextHandler">
<property name="messagingProvider" ref="messagingProvider" />
</component>
<!-- Provider class -->
<component name="messagingProvider"
class="nablarch.fw.messaging.provider.JmsMessagingProvider">
<!-- Property configuration is omitted -->
</component>