Hi

The activeMQ forum might help since it's something to do with browsing
a JMS queue. As I recall the JMS spec isn't very strong in this area
so I think you need to collect the metrics yourself.

Camel is using JMX instrumentation to gather stats for how many
exchanges has been consumed, and some basic elapsed time etc. See the
JMX console page:
http://activemq.apache.org/camel/camel-jmx.html

And there is the list component (to be renamed to browse in Camel 2.0)
http://activemq.apache.org/camel/list.html



/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/



On Fri, Nov 21, 2008 at 9:32 AM, cmoulliard <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to know if there is a strategy available to select messages
> from a queue ? I don't want to remove the messages from a queue but like a
> select performed on a DB table, I would like at a certain moment to perform
> a query to a queue in order to detect by example "How many messages have
> been processed ?", "How many orders have been matched with my settlement
> engine" ?
> This service is required by a web module.
>
> Idea
>
> From a web page --> call a Spring Service running on my application server
> --> call (? camel)/queue to "select messages according to defined criteria"
> --> result returned and displayed in a table
>
> KR,
>
> Charles Moulliard
>
> -----
> Enterprise Architect
>
> Xpectis
> 12, route d'Esch
> L-1470 Luxembourg
>
> Phone +352 25 10 70 470
> Mobile +352 621 45 36 22
>
> e-mail : [EMAIL PROTECTED]
> web site :  www.xpectis.com www.xpectis.com
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context: 
> http://www.nabble.com/Strategy-to-select-messages-from-a-queue---tp20617081s22882p20617081.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to