The to("ep1", "ep2", "ep3") syntax does a static recipient list so the same
message goes to all 3 recipients.  Try this instead:

from("jbi:service:...pipeline")
    .pipeline("jbi:endpoint:...endpoint1",
                  "jbi:endpoint:...endpoint2",
                  "jbi:endpoint:...endpoint3"
                 );

more docs here: http://activemq.apache.org/camel/pipes-and-filters.html

Thanks,
Chris

On Feb 6, 2008 9:19 AM, Kevin k <[EMAIL PROTECTED]> wrote:

>
> I am using Servicemix 3.2.1
>
> I made a simple camel pipeline, In MyRouteBuild.java, it looks like this:
>          from("jbi:service:...pipeline")
>                .to("jbi:endpoint:...endpoint1",
>                   "jbi:endpoint:...endpoint2",
>                   "jbi:endpoint:...endpoint3"
>                );
>
>
> In my first endpoint, I do a MessageExchange.setProperty on several things
> that the second and third endpoints will want to use.
>
> These properties do not seem to show up in the other components.
>
> (I tried it using an eip pipeline and things work fine, but I would rather
> use camel if possible).
>
> Is this a limitation of the camel servicemix component?
> Do I need to do something to "turn on" property copying?
> Am I configuring camel wrong?
>
>
> Thanks for you help.
> -Kevin
>
>
> --
> View this message in context:
> http://www.nabble.com/properties-when-using-camel-in-service-mix-tp15306687s12049p15306687.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to