Configuring a J2C activation specification in WebSphere Application Server
You must configure a new J2C activation specification from the IMS TM resource adapter and then specify the values for
communication with IMS.
To create and configure a J2C activation specification in WebSphere Application Server:
Procedure
Create a J2C specification for the IMS TM resource adapter.
Create a J2C specification for the IMS TM resource adapter. In the administrative
console (also known as the Integrated Solutions Console) of WebSphere Application Server, select Resources > Resource Adapters > J2C activation specifications in the navigation pane.
Figure 1. J2C activation specification configuration in WebSphere Application Server
Click New in the content pane.
A Configuration tab is displayed.
Under Provider, select the IMS TM resource adapter from the list.
The Message listener type field at the bottom of this page is automatically
populated based on the selection.
Specify a name for this J2C activation specification.
For example, IMSActivationSpec.
Type the JNDI name.
For example, eis/IMSActivationSpec.
Click Apply.
You are back to the J2C activation specifications page.
Click Save in the message box at the top to save the changes
to the master configuration.
The J2C activation specification is created.Figure 2. Newly created J2C activation specification from the IMS TM resource adapter
To configure the J2C activation specification for use with the IMS TM resource adapter:
Click the name of the J2C activation specification for the IMS TM resource adapter.
The Configuration tab is displayed.
Under the Additional Properties section on the side, click the J2C
activation specification custom properties link.
Custom properties in this instance of J2C activation specification are
displayed.
Note: The properties in the following figure might not match
the properties that you see, depending on your version of the IMS TM resource adapter.
Figure 3. Custom properties for the J2C activation specification for the IMS TM resource adapter
Specify the values for the following required properties by clicking their names in
the table and entering the appropriate values.
queueName: A comma-delimited list of the tpipe hold queue names
where the callout requests from IMS are being
held.
portNumber: the port number for IMS Connect
hostName: the IMS Connect host name
dataStoreName: the IMS data store name.
In WebSphere Application Server
Version 8 or later, the data store name can be a comma-delimited list of names,
enabling an IMSActivationSpec instance to pull callout messages from multiple
data stores.
If you want the IMS TM resource adapter to use connection pooling for responses that are sent back to IMS, specify
values for the following properties:
connectionPoolEnabled: whether IMS TM resource adapter should use
connection pooling (specify true to enable this feature)
maxConnections: the maximum number of connections that the connection pool can
hold
poolCleanupFrequency: the cleanup interval (in minutes) for idle connections in
the connection pool
ddurationOfIdleConnections: the number of minutes that a connection in the
connection pool can remain idle before it is cleaned up at the next cleanup
interval
If you want the IMS TM resource adapter to receive an acknowledgment from IMS when IMS receives a synchronous
callout response message, specify true for the sendOnlyWithAck
property.
Specify the values for the other optional properties based on your
environment.
Click Apply.
Click Save in the message box at the top to save the changes
to the master configuration.
The J2C activation specification for the IMS TM resource adapter is created and
configured.