1 Reply Latest reply on May 10, 2011 9:53 AM by Wolf-Dieter Fink

    Priority Recieving in JMS

    shptlucky Newbie

      I want to recieve messages in order from a Topic. For that i set priority in my producer code.

       

      What settings require in my MDB to get message in same order as sent?

       

      Thankyou for your reply in advance

        • 1. Priority Recieving in JMS
          Wolf-Dieter Fink Master

          Normally the topic is received in the same order as it will be produced.

          But it might happen that a publish with high prio come after a publish with low prio, but it is commited after the first consumer get the low-prio message.

          In that case the order is mixed and might be different for different clients. It looks like a nice race-condition ...