Re: Logging in Apache camel

2018-04-13 Thread Claus Ibsen
On Fri, Apr 13, 2018 at 9:23 AM, wrote: > Hi Claus, > > > > > Thanks. Was able to get it to work. Besides just noticed something. > > > > > On an exchange with no out, initially exchange.hasOut() returns false. > > > But if I just call exchange.getOut() and

Re: Logging in Apache camel

2018-04-13 Thread gokuljayaraj
Hi Claus, Thanks. Was able to get it to work. Besides just noticed something. On an exchange with no out, initially exchange.hasOut() returns false. But if I just call exchange.getOut() and exchange.hasOut() becomes true and causes issues. Is this expected? Get Outlook for

Re: Logging in Apache camel

2018-04-10 Thread Claus Ibsen
Hi You can take a look at MDC logging http://camel.apache.org/mdc-logging On Tue, Apr 10, 2018 at 8:42 AM, wrote: > Hello everyone, > > > > > So we have multiple camel routes that are configured by logback to log into > separate log files. Is there a way to specify a