Configuring JMS endpoints with the default provider

Configuring JMS Destination on Websphere application server

You can configure both Queue and Topic destinations for the default messaging provider. Creating a JMS destination using the default messaging provider is a two process step which requires

  • Registering the JMS destination on the Bus
  • Definition of the JMS destination (and its binding) as WAS Resource

Let’s see each one in detail:

Registering the JMS destination on the Bus

In the first part, we will register a JMS Queue on the Bus by completing the following steps:

  1. Click Service integration > Buses.
  2. Then click on the JMSBus we have formerly created and navigate to Destinations link.

configure jms destination websphere broker

  1. From there, click New:

 configure jms destination websphere broker

  1. Now choose the destination type as shown by the following picture:

 configure jms destination websphere broker

  1. Next, enter an unique Identifier for the Queue destination, as shown in the picture:

 configure jms destination websphere broker

  1. In the last screen, you will assign the Queue to a Bus member. You can just leave the default values and confirm the queue creation in the last screen.

 configure jms destination websphere broker

Click OK and Save the changes to the master configuration. A new Queue name

DemoQueue has been created.

Definition of JMS destinations as WAS Resource

Once registered the JMS destination on the Bus, in order to be able to use it you need to define it as WAS Resource.

  1. From the Admin Console expand your Resources option and choose JMS > Queues.
  2. In the Queues window, choose the Scope for your destination and then click New.

 configure jms destination websphere broker

Select the Default messaging provider option and click OK:

configure jms destination websphere broker 

Complete the wizard by entering the JMS destination properties. In this example, we are binding the Demo Queue under the JNDI name “jms/demoQueue” and using the following properties:

configure jms destination websphere broker 

Click OK. The new Queue is created. Save the changes to the master configuration.

Francesco Google+