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
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)