You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Greg Dritschler <gr...@gmail.com> on 2009/01/20 17:06:57 UTC

Setting JMSDeliveryMode and JMSPriority

I've noticed that JMSHeaderReferencePolicyInterceptor and
TransportServiceInterceptor set the JMSDeliveryMode and JMSPriority headers
in the request and response JMS messages respectively before the messages
are sent.  I am under the impression that the JMS API requires these header
values to be set via the MessageProducer interface.  The values in the
Message are ignored.

See Table 31-1 here:
http://docs.sun.com/app/docs/doc/819-3669/bnceh?l=ja&a=view

Greg

Re: Setting JMSDeliveryMode and JMSPriority

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 20, 2009, at 11:06 AM, Greg Dritschler wrote:

> I've noticed that JMSHeaderReferencePolicyInterceptor and  
> TransportServiceInterceptor set the JMSDeliveryMode and JMSPriority  
> headers in the request and response JMS messages respectively before  
> the messages are sent.  I am under the impression that the JMS API  
> requires these header values to be set via the MessageProducer  
> interface.  The values in the Message are ignored.

Yep. Shouldn't do any harm, but definitely be unecessary...

--kevan


Re: Setting JMSDeliveryMode and JMSPriority

Posted by Simon Laws <si...@googlemail.com>.
On Tue, Jan 20, 2009 at 4:06 PM, Greg Dritschler
<gr...@gmail.com>wrote:

> I've noticed that JMSHeaderReferencePolicyInterceptor and
> TransportServiceInterceptor set the JMSDeliveryMode and JMSPriority headers
> in the request and response JMS messages respectively before the messages
> are sent.  I am under the impression that the JMS API requires these header
> values to be set via the MessageProducer interface.  The values in the
> Message are ignored.
>
> See Table 31-1 here:
> http://docs.sun.com/app/docs/doc/819-3669/bnceh?l=ja&a=view
>
> Greg
>
Greg

Looks like you're right to me. Can you raise a JIRA.

Thanks

Simon