activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mparida <manojpari...@gmail.com>
Subject 24 hours listener
Date Thu, 17 Dec 2009 15:12:35 GMT

Hi, 

I want to configure a 24 hrs listener which shall listen to a queue through
out the day and listen if there are a ny messages in queue or not.

I tried it through an infinite loop but as you know it creates high CPU.

I do not want to use schedulers for this.

If any one has done similar kind of thing (May be using thread or like
that), please suggest.

Thank you,
Manoj


-- 
View this message in context: http://old.nabble.com/24-hours-listener-tp26829469p26829469.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message