5 Replies Latest reply on Jul 13, 2011 11:44 AM by mookythemook

    MessageProducer.setDeliveryMode() overwrites Message.setJMSDeliveryMode()

    mookythemook Newbie

      Appears to me that no matter what I set Message.setJMSDeliveryMode() to, it gets overwritten by the MessageProducer.

      Is that expected behaviour? Im not as familiar with the JMS spec as I used to be - I just had a quick scan and couldnt find anything conclusive...

       

      I thought that the setting on the MessageProducer was a default - and would only apply if nothing was set on the message. But I could be wrong.

       

      Cheers,

      -Nick