1 Reply Latest reply on Apr 22, 2005 3:29 PM by genman

    mdb nolocal

    magic886

      How can I specify nolocal in a mdb?

      I know in TopicSession, there's the createSubscriber method where I can specify nolocal to true to not receive my own messages.

      "createSubscriber(Topic topic, java.lang.String messageSelector, boolean noLocal)
      Creates a nondurable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it."

      Mike

        • 1. Re: mdb nolocal
          genman


          When sending messages in an MDB, as you can't obtain the same connection that the MDB is using, I would assume noLocal has no meaning.