Super!!! It solves my problem and works like a charm! Thanks a lot!!!
2012/8/22 Freeman Fang <[email protected]>: > Hi, > > In your In interceptor where you get input log string, do something like > message.getExchange().put("INPUT_LOG", your_long_string); > and in your out interceptor where you get output log, do something like > message.getExchange().get("INPUT_LOG") > to get the input log > Freeman > ------------- > Freeman Fang > > FuseSource > Email:[email protected] > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-8-21, at 下午4:29, Marco Pas wrote: > >> Looks like this could be a solution indeed. Anyone willing to share >> some example on how to use MessageExhange en get the input / output ? >> >> 2012/8/21 Freeman Fang <[email protected]>: >>> Hi, >>> >>> I think you can save incoming message(as a String) into MessageExchange, so >>> that you can easily print it out when you print out outgoing xml. >>> >>> Freeman >>> ------------- >>> Freeman Fang >>> >>> FuseSource >>> Email:[email protected] >>> Web: fusesource.com >>> Twitter: freemanfang >>> Blog: http://freemanfang.blogspot.com >>> http://blog.sina.com.cn/u/1473905042 >>> weibo: http://weibo.com/u/1473905042 >>> >>> On 2012-8-21, at 下午3:16, Marco Pas wrote: >>> >>>> Hi there i am able to log input and output but i want to combine the >>>> incoming and outgoing xml so i can easily see the combined result? >>>> This would eliminate the task of manually digging out a log file. >>>> >>>> Trying to accomplish this i have implemented 2 interceptors wich get >>>> the xml but i see now way to relate the outgoing xml to the incoming >>>> xml. >>>> >>>> Any hints or tips are welcome! >>> >
