We use mule to send jms like this:
     returnEvent = new MuleApplicationEvent(msg,queueName); 
     muleEvent.getApplicationContext().publishEvent(returnEvent); 

   not directly use MessageProducer  at all.If don't set JMSExpiration,the
default value is 0,and when messages expired,can't be removed .
--
View this message in context: 
http://www.nabble.com/how+to+set+JMSExpiration-t1606000.html#a4553358
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to