You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by anoordover <an...@live.nl> on 2012/04/19 18:34:34 UTC
Original message
I want to send the same message to two endpoints.
The first one is request/reply and if an exception is raised the message
should not be send to the second endpoint.
How can I send the original message to the second endpoint
--
View this message in context: http://camel.465427.n5.nabble.com/Original-message-tp5652238p5652238.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Original message
Posted by Raul Kripalani <ra...@fusesource.com>.
Yes, that kind of looks correct, but you need to add the
stopOnException=true option on your multicast element.
By default, the overall output of the multicast will be the output of
the last endpoint.
You can modify that by setting a Strategy on the multicast.
Hope that helps,
Raúl.
On 19 Apr 2012, at 17:41, anoordover <an...@live.nl> wrote:
> Is suppose something like:
> <camelContext errorHandlerRef="errorHandler"
> xmlns="http://camel.apache.org/schema/spring">
> <route>
> <from uri="seda:a"/>
> <multicast>
> <to uri="seda:b"/>
> <to uri="seda:c?exchangePattern=InOnly"/>
> </multicast>
> </route>
> </camelContext>
> ????
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Original-message-tp5652238p5652251.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Original message
Posted by anoordover <an...@live.nl>.
Is suppose something like:
<camelContext errorHandlerRef="errorHandler"
xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="seda:a"/>
<multicast>
<to uri="seda:b"/>
<to uri="seda:c?exchangePattern=InOnly"/>
</multicast>
</route>
</camelContext>
????
--
View this message in context: http://camel.465427.n5.nabble.com/Original-message-tp5652238p5652251.html
Sent from the Camel - Users mailing list archive at Nabble.com.