Re: Trace from and to endpoints

2015-06-13 Thread Claus Ibsen
Hi

See also the message history eip pattern

On Wed, Jun 10, 2015 at 5:51 PM, rwijngaa
rino.van.wijngaar...@gmail.com wrote:
 Hi,

 What would be the best way to gather the 'path' a camel route takes for an
 audit log.
 The way i see it i have at least 3 options:  implement my own Tracer
 (http://camel.apache.org/tracer.html), implement my own InterceptStrategy or
 catch the exchange events by extending the EventNotifierSupport?

 Thanks in advance
 Regards
 Rino



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/Trace-from-and-to-endpoints-tp5768077.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/


Re: Trace from and to endpoints

2015-06-11 Thread Tim Dudgeon
I believe Camel tracks this automatically at the exchange level 
(assuming you are wanting this on a per-exchange basis).
e.g. when you get an exception this information is written to the logs, 
so its already there.

Try looking at the Exchange properties.

Tim

On 10/06/2015 16:51, rwijngaa wrote:

Hi,

What would be the best way to gather the 'path' a camel route takes for an
audit log.
The way i see it i have at least 3 options:  implement my own Tracer
(http://camel.apache.org/tracer.html), implement my own InterceptStrategy or
catch the exchange events by extending the EventNotifierSupport?

Thanks in advance
Regards
Rino



--
View this message in context: 
http://camel.465427.n5.nabble.com/Trace-from-and-to-endpoints-tp5768077.html
Sent from the Camel - Users mailing list archive at Nabble.com.