Skip to Main Content

purging destinations vs setting message expirations

886634Sep 26 2011 — edited Sep 27 2011
Hi,

Is there a way to automate the process of purging a destination on the broker? For example, I might want to purge the destination before sending it another message so that there is only one message at a time in the destination. Or perhaps the better way to do this is to set the JMSExpiration for each message? Just making sure, but the value the function setJMSExpiration takes is in milliseconds correct?

Thanks!
Comments
Post Details
Added on Sep 26 2011
1 comment
149 views