1 Reply Latest reply on Oct 19, 2010 10:43 PM by gaohoward

    Need to pass selector again on reconnect?

    bill.burke

      If you are reconnecting a durable consumer, do you need specify the selector again?

        • 1. Re: Need to pass selector again on reconnect?
          gaohoward

          I think so. Otherwise you will end up a new consumer. The jms API doc says:

           

          A client can change an existing durable subscription by creating   a durable TopicSubscriber with the same name and a new   topic and/or   message selector. Changing a durable subscriber is equivalent to   unsubscribing (deleting) the old one and creating a new one.

          (in Session.createDurableSubscriber(...))