Hello,

So again the lack of good examples with qpid is killing me. Can anyone help
with this one?

I sent a simple message to the a Qpid/MRG queue and add the JMS Expiration
Header:

messageProducer.send(message, DeliveryMode.NON_PERSISTENT, 1, 10000);

OR

message.setJMSExpiration(10000);

OR BOTH.

>From what I understand the default removal policy for expired messages is 10
minutes.

Guess what? The messages, of course, are not removed from the Queue,
otherwise I would not post this question :)

Can someone give me a hint of what I am doing wrong?

Cheers,
Eugene.

--
View this message in context: 
http://apache-qpid-developers.2158895.n2.nabble.com/MRG-Java-JMS-Expiration-tp7171854p7171854.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to