activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Difference setJMSExpiration setTimeToLive
Date Tue, 16 Sep 2008 21:07:23 GMT
ooh - this is a problem of the JMS api - in general - JMS properties  
on a message are only set by the JMS provider - so if you set the  
JMSExpiration - it will be ignored - and overwritten when the message  
is sent  - always use the producer level!

cheers,

Rob

Rob Davies
http://rajdavies.blogspot.com/


On 16 Sep 2008, at 19:12, greenapple wrote:

>
> This is a general JMS question:
>
> what is the setJMSExpiration on the message level and setTimeToLive  
> on the
> sender (producer) level?
>
> -- 
> View this message in context: http://www.nabble.com/Difference-setJMSExpiration-setTimeToLive-tp19517510p19517510.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message