8.5.1 Managing the default messaging JMS provider

 

+

Search Tips   |   Advanced Search

 

WAS supplies a preconfigured JCA resource adapter implementation that can be used to communicate with a service integration bus. This resource adapter is installed as a fully-integrated component at all levels of the cell and needs no separate installation steps. The administered objects for this resource adapter also implement the corresponding interfaces of JMS V1.1, enabling them to be used by JMS clients for both the Point-to-Point and Publish/Subscribe messaging models.

The WebSphere console exposes a set of windows that use to configure the resource adapter as though it were purely a JMS provider, known as the default messaging JMS provider. These windows can be used to configure the following JMS resources:

You do not have to configure the underlying service integration bus resources before configuring the corresponding JMS resources. However, certain fields within the default messaging JMS provider administration windows are populated with relevant bus resources, if they exist. Therefore, to simplify the process of creating JMS resources for the default messaging JMS provider, we recommend that you create and configure the underlying service integration bus resources first.

The sections that follow discuss how to configure the resource adapter using the default messaging JMS provider windows. To view the properties of the default messaging JMS provider, use the console to complete the following steps:

  1. In the navigation tree, expand Resources  | JMS  | JMS Providers.

  2. Set the scope for the JMS Provider.

  3. Click Default messaging provider.

  4. The properties for the Default messaging JMS provider are displayed in the main content pane of the WebSphere console.

    It is worth noting that the resource adapter can also be configured as a generic J2EE Connector Architecture resource adapter. However, the administration windows used for configuring a generic resource adapter are not specific to JMS resources and are, therefore, not as easy to use as the default messaging JMS provider administration windows. To view the properties of the resource adapter, use the console to complete the following steps:

  5. In the navigation tree, expand Resources  | Resource adapters.

  6. Set the scope for the resource adapter.

  7. Set the Preferences to show built-in resources. Press Apply.

  8. A list of resource adapters defined at this scope is displayed. Remember that the resource adapter for the service integration bus is defined at all levels within the cell. The list of resource adapters.

  9. Click SIB JMS Resource Adapter.

  10. The properties for the resource adapter are displayed.

  11. The links under the Additional Properties section of the configuration window can be used to configure the following J2C resources at the relevant scope of the resource adapter:

  12. Using the generic resource adapter configuration windows to configure JMS resources for a service integration bus is not recommended. However, the following advanced properties for a JMS activation specification can be configured only using these windows:

    • readAhead
    • shareDataSourceWithCMP
    • targetTransportChain

Next