Hi, Iam building an application on activemq where iam sending a message from producer where my delivery mode is NON_PERSISTENT (*iam not dealing with PERSISTENT delivery mode and i know it will be stored in DLQ-which is not my design*)and have set a time to live for the message using producer.setTimeToLive(2000).As the functionality says the message will expire in 2 seconds.
I see that the expired messages are enqueued in the *ActiveMQ.Advisory.Expired.Queue* in the topic section of activeMQ admin console i.e. *http://localhost:8161/admin/topics.jsp. * My question is how do i *iterate* over the *ActiveMQ.Advisory.Expired.Queue* so that i can access the *MessageID* of the expired message.Any code example would be great. -- View this message in context: http://activemq.2283324.n4.nabble.com/Iterate-over-non-persistent-activemq-expired-messages-in-ActiveMQ-Advisory-Expired-Queue-tp4716777.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.