There are a number of key features of a JMS Import. These features include headers and created J2EE resources.
The JMS Import service differs from an EIS import in its runtime invocation with respect to handling of responses. The JMS implementation is asynchronous and the SCA programming model requires it to support three invocations, one-way, two-way (also known as request-response) and callback.
When the JMS Import is deployed, a Message Driven Bean (MDB), provided by the runtime environment is deployed. The MDB listens for replies to the request message. The MDB is associated (listens on) the destination sent with the request in the JMSReplyTo header field of the JMS message.
Special header properties are used in an import to indicate to the target export binding information on how the message should be handled.
Parameters
A mapping from the native method to the operation method is provided through a special header.
A number of J2EE resources are created when a JMS Import is deployed to a J2EE environment.
Parameters
The installation task creates the ConnectionFactory and three destinations from the information in the import file. In addition, it creates the ActivationSpec to enable the runtime MDB to listen for replies on the receive destination. The properties of the ActivationSpec are derived from the destination/ConnectionFactory properties.
Last updated: Wed 06 Dec 2006 07:08:08
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)