camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject Re: Issue trying to browse a activemq queue
Date Mon, 04 Jan 2010 17:18:12 GMT
2010/1/4 Ricardo Melo <>:
> Thank you all fot the answers.
> It works now with the Browsable endpoint, thanks!
> Very clean and elegant solution.

Glad it worked :)

BTW as Claus mentions, its actually inefficient under the covers if
all you want is the size as it basically loads all the messages into
RAM one by one to get the size. We should add an ActiveMQ Camel
component optimisation of the List.size() method one day so that the
implementation just uses the ActiveMQ statistics to find out the size
of the queue without actually iterating through the list.


Open Source Integration

View raw message