git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to write two logs with one method by JAVADSL


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 XQuery Parsed Message
######").to("log:?level=INFO&showBody=true")
.to("file:outputdir");

More over: it seems i could not reply on the post, even my own post,  is
any setting mistake?