Mind.random()

random ramblings of an eccentric programmer

An Attempt Was Made to Create a Named Consumer (Name) on a Connection With No clientID

While creating a DurableSubscriber please do specify the client id before specifying a named consumer. Please have a look at the small code i wrote. Do remember to set the ClientID before creating a session from it. The clientID becomes null and immutable after the session is created. Also remember to give the same client id while creating a DurableSubscriber.

ClientID

content/uploads/2007/07/clientid.thumbnail.JPG

(ClientID)

Comments