I found a way to make it works: change wireTap("direct:a").id("wireTapId") to wireTap("direct:a").id("wireTapId").end() , then it works.
2013/6/27 liugang594 Liu <clevers...@gmail.com> > Hi All: > > I have below route: > > from("timer:foo").routeId("route1").setBody(constant("Hello")).id("setBodyID").wireTap("direct:a").id("wireTapId").process(new > Processor(){...}).id("processId"); > > When I'm trying to trace each node by id, I found the id of wireTap will > be always "processId". Seems all sub-classes of ProcessorDefinition have > the same problem. > > is it a bug of Camel? or is there any other way to resolve this problem? > > -- > Thanks > GangLiu > MSN: liugang_0...@hotmail.com > Skype: gang.liu.talendbj > > -- Thanks GangLiu MSN: liugang_0...@hotmail.com Skype: gang.liu.talendbj