Define a generic messaging provider

Use this task to define a new messaging provider to WebSphere Application Server, for use instead of the default messaging provider or a WebSphere MQ as a messaging provider.

 

Before you begin

Before starting this task, you should have installed and configured the messaging provider and its resources by using the tools and information provided with the messaging provider.

 

Overview

To define a new generic messaging provider to WebSphere Application Server, use the administrative console to complete the following steps:

 

Procedure

  1. In the navigation pane, click JMS Providers > Generic. This displays the existing generic messaging providers in the content pane.

  2. To define a new generic messaging provider, click New in the content pane. Otherwise, to change the definition of an existing messaging provider, click the name of the provider. This displays the properties used to define the messaging provider in the content pane.

  3. Specify the following required properties. We can specify other properties, as described in a later step.

    Name

    The name by which this messaging provider is known for administrative purposes within IBM WebSphere Application Server.

    External initial context factory

    The Java classname of the initial context factory for the JMS provider.

    External provider URL

    The JMS provider URL for external JNDI lookups.

  4. Optional: Click Apply. This enables you to specify additional properties.

  5. Optional: Specify other properties for the messaging provider.

    Under Additional Properties, use the Custom Properties link to specify custom properties for your initial context factory, in the form of standard javax.naming properties.

  6. Click OK.

  7. Save the changes to the master configuration.

  8. To have the changed configuration take effect, stop then restart the application server.

 

What to do next

We can now configure JMS resources for the generic messaging provider, as described in Configuring JMS resources for a generic messaging provider.


 

Related Tasks


Configuring JMS resources for a generic messaging provider

 

Related Information


JMS provider settings