1. jms-spec
  2. JMS_SPEC-103

A JMS 2.0 resource adapter needs to be able to include cluster name in a generated subscription name


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0PD
    • Fix Version/s: None
    • Labels:


      The draft JMS 2.0 specification, chapter 12.1. "ActivationSpec properties" states that:

      If a durable subscription is specified but subscriptionName is not specified then the resource adapter will set the name of the durable subscription to be a name which is unique to the deployed MDB.

      The intention of this feature is to allow the resource adapter to automatically generate a subscription name automatically which will be different for each deployed MDB but the same for each instance in the cluster. This instances of the same deployed MDB across the whole cluster to share the work of processing messages from the same subscription.

      However if the same JMS provider is being used by two different application server clusters, and the two clusters are using the same MDB name, then this would cause the two clusters to share the same subscription which is undesirable.

      To avoid this, the subscription name generated by the resource adapter should be composed of (1) a name which uniquely identifies the deployed MDB within thin the cluster as well as (2) a name which uniquely identifies the application server cluster.

      The JMS specification needs to be extended to cover (2)

        Issue Links


          No work has yet been logged on this issue.


            • Assignee:
              Nigel Deakin
              Nigel Deakin
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: