camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liugang594 Liu <clevers...@gmail.com>
Subject Re: id of wireTap will be overrided by the id of next node
Date Thu, 27 Jun 2013 07:15:55 GMT
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 <clevers594@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_0011@hotmail.com
> Skype: gang.liu.talendbj
>
>


-- 
Thanks
GangLiu
MSN: liugang_0011@hotmail.com
Skype: gang.liu.talendbj

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message