camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janstey <jans...@gmail.com>
Subject Re: How camel differentiate between wiretap and staticRecipientList?
Date Thu, 19 Jun 2008 10:19:21 GMT

It doesn't. They are the same thing :) Well, except that to be a bonefide
wiretap, you must restrict it to two outputs.

Looking at the definition of a wiretap: "The Wire Tap is a fixed Recipient
List with two output channels"
http://www.enterpriseintegrationpatterns.com/WireTap.html

Make sense?

Cheers,
Jon


pratibhaG wrote:
> 
> This is the configuration given in camel1.3  manual for wiretap pattern:
> <camelContext id="buildWireTap"
> xmlns="http://activemq.apache.org/camel/schema/
> spring">
>   <route>
>     <from uri="seda:a"/>
>     <to>
>       <uri>seda:tap</uri>
>       <uri>seda:b</uri>
>     </to>
>   </route>
> </camelContext>
> 
> This is the configuration given in camel1.3 manual for static routing slip
> pattern:
> <camelContext id="buildStaticRecipientList"
> xmlns="http://activemq.apache.org/
> camel/schema/spring">
>   <route>
>     <from uri="seda:a"/>
>     <to>
>       <uri>seda:b</uri>
>       <uri>seda:c</uri>
>       <uri>seda:d</uri>
>     </to>
>   </route>
> </camelContext>
> 
> Both of them seems same to me. How does camel know that it is wiretap or
> static recepient list?
> 
> Pratibha
> 

-- 
View this message in context: http://www.nabble.com/How-camel-differentiate-between-wiretap-and-staticRecipientList--tp17998160s22882p18005741.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message