jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: (JMS_SPEC-34) Calling setJMSDeliveryMode or setJMSPriority on a javax.jms.Message before it is sent don't have any effect

From: Clebert Suconic <clebert.suconic_at_gmail.com>
Date: Mon, 25 Jul 2011 12:41:02 -0500

>>So I don't think we can deprecate these methods, though we can certainly make the javadoc comments much more explicit that they are for provider use only.

I honestly don't know of any valid usage for these methods as a SPI.

Even if I receive a message from a different provider, the
MessagePriority and DeliveryMode should be ignored as the new producer
on the second provider will replace them anyway.