In almost similar scenario, I put TimeToLive properties in the messages. In they aren't consumed after certain periods, it will go to default queue (ActiveMQ.DLQ if i'm not mistaken)
On Thu, May 26, 2011 at 6:26 PM, Aneesh <cv_ane...@yahoo.co.in> wrote: > Hi > > Am pretty new to ActiveMQ and i am now looking for a solution to the > following problem: > > I have a producer which produces message and putting it into a queue. > In some scenarios the consumer of the queue will not consume the messages > which may result in piling up of messages.My requirement is to send > notification to admin when the messages are not consumed from a queue > during > a specific period of time. > I was thinking how could i achieve this and then did a lot of googling and > then came to know that ActiveMQ has something called Advisory Messages. > Now the question is how should I start? > Can somebody help me? > > Thanks in Advance > Aneesh > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Advisory-Messages-tp3552270p3552270.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >