start with the activemq junit tests to see how the advisories are  used:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/advisory/

also, have a peek at the Abort slow consumer test. You could provide
your own implementation of a slow consumer strategy that does the
alert rather than abort the consumer.
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/AbortSlowConsumerTest.java?view=markup

On 26 May 2011 12:26, 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.
>



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to