http://camel.465427.n5.nabble.com/how-to-write-two-logs-with-one-method-by-JAVADSL-tt5823866.html

2018-09-25 Thread Wang Yan
Thanks , it works now

Re: how to write two logs with one method by JAVADSL

2018-09-25 Thread Claus Ibsen
Hi If you use log then you can type any kind of message to be logged, and if you want to include details from the message such as its body, then use ${body} etc. Its the simple language, so see http://camel.apache.org/simple On Tue, Sep 25, 2018 at 9:47 AM Wang Yan wrote: > > Hello All, > > As

how to write two logs with one method by JAVADSL

2018-09-25 Thread Wang Yan
Hello All, As below shown, my logging are using two methods log and to, how to use one method to make this below code tidier? Any hints are more than welcome ! Thanks and Rgds from("file:inputdir?moveFailed=.error").convertBodyTo(String.class).to("xquery:myxquery.xq") .log("## Monitoring