On Sat, Nov 10, 2012 at 9:01 PM, gilboy <[email protected]> wrote:
> Hi
>
> When I read documentation regarding the wiretap EIP it always looks like a
> copy of the exchange is sent to another endpoint in a different thread.
>
> Is it valid for me to wiretap and send to a number of endpoints
> sequentially?
>
What do you mean? The wire tapped messages will not have any influence
on the original message.
Mind that it does a shallow copy of the message, when its being copied.
If you want to send a copy of the same message to X beans at the same
time, then as Christian said, there is the multicast EIP.
> E.g.
>
> from("direct:start")
> .to("log:foo")
>
> .wireTap("bean:bean1").*to("bean:bean2").to("bean:bean3").to("bean:bean4")*
> .to("mock:result");
>
> Thanks
> Joe
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Wiretap-query-tp5722510.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen