How to identify whether all nodes are processed.?

2015-06-13 Thread mnki
I have created a interceptor added to the context.This interceptor is getting executed for each node in the route.But i want to identify when processing of all nodes is complete and do some action. public class MyInterceptStrategy implements InterceptStrategy { public int count = 0; @Override p

printing message history in the order of routes declaration

2015-06-11 Thread mnki
Hi I have two routes route1 and route2.A bean in route1 is calling the route2. I want to log the time taken by each node.I am using Message History explained here http://camel.apache.org/message-history.html to print the details.But the issue is i want the message history of route1 to come first