Home > Uncategorized > An attempt was made to create a named consumer (name) on a connection with no clientID

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

Categories: Uncategorized Tags: ,
  1. No comments yet.
  1. No trackbacks yet.