You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by hotta <sk...@gmail.com> on 2012/04/20 06:02:01 UTC

How to find out the total no of message for "from" the endpoint

Here are the two questions I have:
1.How to find out the total no of message for "from" the endpoint
2. Is there any way to direct to another endpoint when there is no messages
from a "from" endpoint or take some action when there are no messages from
"from" endpoint

thanks,
Hotta

--
View this message in context: http://camel.465427.n5.nabble.com/How-to-find-out-the-total-no-of-message-for-from-the-endpoint-tp5653332p5653332.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to find out the total no of message for "from" the endpoint

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You have to be more specific.

Ad 1)
Camel offers JMX statistics, where you can dive in a get numbers such
as total messages etc a route has processed.

Ad 2)
That would be component specific, how it would no there is no more messages.

The Camel routing engine has a in-flight registry which keep tracker
of number of messages.
You can check it to know how many messages a given route has currently etc.


On Fri, Apr 20, 2012 at 6:02 AM, hotta <sk...@gmail.com> wrote:
> Here are the two questions I have:
> 1.How to find out the total no of message for "from" the endpoint
> 2. Is there any way to direct to another endpoint when there is no messages
> from a "from" endpoint or take some action when there are no messages from
> "from" endpoint
>
> thanks,
> Hotta
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-find-out-the-total-no-of-message-for-from-the-endpoint-tp5653332p5653332.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/