If both bean's should receive the same message, you should consider using
multicast [1].
Camel will create a copy of the exchange and send the same exchange to the
second bean after the first one. You should be aware that Camel will create
shallow copy of all your headers and the body.

[1] http://camel.apache.org/multicast.html

Best,
Christian

On Thu, Dec 6, 2012 at 4:58 PM, Mike Stroming <mstro...@gmail.com> wrote:

> Hi all,
>
> Another newbie question, if you don't mind.
>
> I have two processes that need the same message as input.  However, the
> second process should only run based on successful output from the first
> process.  Would a multicast/pipeline make sense here or not?  I don't need
> either to get it to work, but I'm trying to follow some sort of Camel
> standard.
>
> Msg enters queue
> bean one
> if bean one successful
>   bean two
>
> Thanks,
> Mike
>



--

Reply via email to