break;
}
// add an intercept strategy that counts when the route sends to any of its outputs
if (out != null) {
out.addInterceptStrategy(new InterceptStrategy() {
public Processor wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition definition,
Processor target, Processor nextTarget) throws Exception {
if (registeredRoutes.containsKey(endpoint)) {
// do not double wrap
return target;