Chris,
On 06/07/2012 20:40, Chris Barrow wrote:
> Hi,
>
> For durable subscribers the spec says "A durable subscription is identified by a name specified by the client and by
> the client identifier*if set*.". This raises the question of how to detect if the client identifier is set. The
> obvious way is to call the getClientID method on Connection.
I don't think there's a need for the JMS provider to use the JMS API to obtain this information since it it can use
whatever private API it likes to find out whether the client identifier has been set.
> But what value should we expect that method to return if the client identifier is not set? Null or the empty string
> ("") or either? I would suggest it would be worth clarifying this in the spec.
>
This is a fair question, and you are welcome to log it in JIRA, but I don't think we need to answer it in order to
implement durable subscriptions when client id is not set. Unless I have missed something....
Nigel