How do you define your camel routes? If you use the XML DSL, there is a
trace attribute in the camelContext element which you have to set to true.
If you use the java DSL, there is a setTracing() method on the Camel
context which you have to set to true. I didn't understand what you issue
is?
As Claus already mentioned, everything is described at [1].

If you are a beginner, I recommend to buy a copy of this book [2].

[1] http://camel.apache.org/tracer
[2] http://www.manning.com/ibsen/

Best,
Christian

On Tue, Dec 18, 2012 at 10:17 PM, semiosis <[email protected]> wrote:

> Please forgive my ignorance, but I must be missing something here...
>
>     context.setTracing(true);
>
> i don't have a context object, but i can call getContext() from within
> configure(), which compiles, but then I don't get any additional logging.
>
> And what log should I check?  I have log4j set up with a console appender,
> and I can see my own log statement's output, but none from camel, with or
> without the getContext().setTracing(true).
>
> I tried this in the test class you provided and tracing behaves the same in
> your test class and my production code -- which is to say, tracing doesn't
> give me anything in the logs.
>
> Thanks as always,
>
> -louis
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/global-onException-only-works-for-first-to-route-item-but-nothing-after-that-tp5724296p5724320.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Reply via email to