camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: How to query for active mq size using camel without browse all the objects?
Date Mon, 10 Jan 2011 23:51:44 GMT


Have you considered Virtual Queues/Topics in ActiveMQ. 

This should help you create a virtual queue/topic that directs the payload
to 2 real queues/topics at the back. The messages can be allowed to collect
in one queue and the counting can happen using a consumer thread connected
to the other queue.

The client is not impacted and sends each message only once.

This could be another strategy without using browse...

Hope this helps.



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message