+

Search Tips   |   Advanced Search

Configure shared durable subscriptions for an activation specification

Use this task to configure the Share durable subscriptions option; an attribute of the JMS activation specifications that message-driven beans use with the default messaging provider.

The Share durable subscriptions option controls whether durable subscriptions are shared between subscribers in a cluster. To set this option, use the console to complete the following steps.

  1. In the navigation pane, click Resources -> JMS -> JMS providers.

  2. Select the default provider for which to configure activation specification properties.

  3. Optional: Change the Scope check box to set the level at which the connection factory is visible, according to the needs.

  4. In the content pane, under Additional Properties, click Activation specifications.

  5. Click the name of the activation specification to configure. The properties for the activation specification are displayed in the content pane.

  6. Under General Properties, in the Advanced section, set the Share durable subscriptions property. Select one of the following options from the list:

    In cluster

    Clients that are connected to the bus in a cluster member can use the same client identifier and durable subscription name, and can retrieve messages from the durable subscription.

    Always shared

    All clients, regardless of where they are connected to the bus, can use the same client identifier and durable subscription name, and can retrieve messages from the durable subscription.

    Never shared

    Clients cannot use the same client identifier and durable subscription name as an existing session.

    See the console help for information about the other fields on this page.

  7. Click OK.

  8. Save the changes to the master configuration.


Related concepts

  • Workload sharing with publish/subscribe messaging


    Related tasks

  • Configure high availability and workload sharing of service integration
  • Administer durable subscriptions