On Thu, May 10, 2012 at 10:38 AM, Alex Anderson <a...@frontlinesms.com> wrote:
> On 10 May 2012 11:28, Claus Ibsen <claus.ib...@gmail.com> wrote:
>> On Thu, May 10, 2012 at 10:06 AM, Alex Anderson <a...@frontlinesms.com> 
>> wrote:
>>> On 9 May 2012 18:05, Claus Ibsen <claus.ib...@gmail.com> wrote:
>>>> On Wed, May 9, 2012 at 4:57 PM, rdifrango <ron.difra...@gmail.com> wrote:
>>>
>>>> There is an in flight registry you can see number of currently in
>>>> flight messages etc.
>>>> http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/InflightRepository.html
>>>
>>> Is it possible to get details of the Exchanges, or just the current number?
>>
>> Just the numbers by default.
>> But you can plugin you own in flight repo if you want to keep track of more.
>
> Excellent, thank you Claus.  Would the in-flight repository be a
> suitable way of tracking current system activity for e.g.
> visualisation?

Not really as the in flight repo, is only intended to keep track of
- total number of current inflight messages
- number of inflight that originated for a given route

This is being used by the graceful shutdown, to know when there is no
more messages etc.
And thus its safe to shutdown.

To keep track of what is going on then you have the JMX stats, Event
Notifier, and the Tracer as well.
And there is API on CamelContext to have routes represented in XML,
which mean you can use that for visualization as well.

And there is some people on the user forum talking about a tool that
generates a report of your Camel routes in a visual picture.

Likewise Fuse IDE has capabilities of visualization and whatnot.



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

Reply via email to