camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: problem with camel:multicast
Date Sun, 15 Jul 2012 19:11:09 GMT
Hi

This seems a bit odd.
Have you tried with only 1 of the beans, to see that the volatiliy
bean is invoked and you can see if it works?

>From the multicast EIP point of view, its just all 3 processors in its
output to process a copy of the same message.
So it shouldn't matter if its a bean, seda, direct, jms, or whatever endpoint.



On Sat, Jul 14, 2012 at 6:38 PM, Marco Mistroni <mmistroni@gmail.com> wrote:
> hello all
>    i might be missingn something big here with regards to camel:multicast.
>
> I have following routes configures with camel:multicast
>
> Multicast works for the following route, where all the  camel:to are seda
>
>        <camel:route>
>             <camel:from uri="seda:processShares" />
>             <camel:multicast>
>                 <camel:to uri="seda:fetchShareData" />
>                 <camel:to uri="seda:fetchShareNews" />
>                 <camel:to uri="seda:fetchEdgarNews" />
>                 <!-- Add Edgar News -->
>             </camel:multicast>
>         </camel:route>
>
>
> but it does not work for this route, where one of the camel:to  URI is a
> bean:  and others are seda:
>
> <camel:route>
>             <camel:from uri="seda:fetchShareData" />
>             <camel:bean ref="serviceActivator" method="fetchData" />
>             <camel:multicast>
>                 <camel:to
> uri="bean:sharesEndpointBean?method=handleShareData" />
>                 <camel:to
> uri="bean:camelVolatilityBean?method=loadVolatility"/>
>                 <camel:to uri="seda:report" />
>             </camel:multicast>
>         </camel:route>
>
> the message gets delivered to the first bean:sharesEndpointBean and
> seda:report but the message
> never reaches bean:camelVolatilityBean.
>
> anyone could assist?
>
> w/kindest regards
>  marco



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message