Shared subscriptions for which the client id is set must use the same connection.

Shared subscriptions for which the client id is set must use the same connection.

book

Article ID: KB0089372

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
In JMS 2.0 specification,

Section 8.3.4 Shared durable subscriptions:

A shared durable subscription is identified by a name specified by the client and by the client identifier, if set. If the client identifier was set when the shared durable subscription was first created, then a client which subsequently must create a consumer on that shared durable subscription must use the same client identifier.


Section 6.1.2. Client identifier


The only use of a client identifier defined by JMS is its mandatory use in identifying an unshared durable subscription or its optional use in identifying a shared durable or non-durable subscription.


A shared subscription (durable or non-durable) is identified by the combination of the subscription name and the client identifier, if it is set.
If the client has set the client identifier, shared subscribers must use the same connection.

Issue/Introduction

Shared subscriptions for which the client id is set must use the same connection.

Additional Information

JMS 2.0 specification: http://www.oracle.com/technetwork/articles/java/jms2messaging-1954190.html