how to check whether a routing of one message finished

2013-11-03 Thread CamelTyro
How to get the real node count of a router, I used the tracer function and get the number of nodes had been traced via TracedRouteNodes traced = exchange.getUnitOfWork().getTracedRouteNodes(); ListRouteNode list = traced.getNodes(); and the size of list is the node count traced. So if I can get

Re: how to check whether a routing of one message finished

2013-11-03 Thread Willem jiang
How about to try the onCompletion DSL ? [1]http://camel.apache.org/oncompletion.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)