Define the JMS Objects
JMS connection factories and target objects for destinations on the Service Integration Bus are defined using the Default Messaging link under JMS Providers in the Administrative Console. The following steps detail defining a JMS connection factory to connect to the local Service Integration Bus and a JMS queue object for a queue destination on the local bus.
- Open the Administrative Console and log in.
- Click + next to Resources.
- Click + next to JMS Providers.
- Click Default Messaging to display the Default messaging provider page.
- Click JMS queue connection factory from the Connection Factories section to display the JMS queue connection factory list.
- Click New to create a new queue connection factory.
- Enter the name and JNDI name for the queue connection factory.
- In the Connection section from the Bus name drop-down, select the local bus hosting the queue destination to connect to.
- Specify a Target inbound messaging chain or leave blank to use the default for the messaging engine.
Note: This option is used to specify the transport level security for the connection. The two default options for the messaging chain are InboundBasicMessaging, which is non-SSL enabled, and InboundSecureMessaging which is SSL enabled.
- Modify additional properties on this page as needed, including defining the Component-managed authentication alias if needed.
- Click OK to return to the JMS queue connection factory list.
- Click Default messaging provider to return to the Default messaging provider page.
- Click JMS queue from the Destinations section to display the Destinations list.
- Click New to create a new JMS queue destination.
- Enter the name and jndi name for the queue.
- In the Connection section from the Bus name drop-down, select the bus hosting the queue destination.
Note: For Queue, Topic space and alias destinations, the local Service Integration Bus where the destination is defined should be selected. For Foreign destinations, the foreign bus should be selected.
Once a bus is selected the page will refresh so that the Queue name field will contain a list of destinations on the selected bus.
In the Connection section from the Queue name drop-down, select the queue destination. Click OK to return to the Destinations list. Save the configuration for WebSphere.