You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by artnaseef <ar...@artnaseef.com> on 2014/01/07 03:40:27 UTC

Re: remove DLQ message

setJMSExpiration() uses a JMS-provider-specific value.  For ActiveMQ, that's
the time of expiration in millis.

Try this instead:
	
   messageReference.getMessage().setExpiration(System.currentTimeMillis() +
60*60*1000);




--
View this message in context: http://activemq.2283324.n4.nabble.com/remove-DLQ-message-tp4675686p4676067.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.