You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Narita Bagchi <Na...@headstrong.com> on 2011/09/22 08:04:41 UTC

Multicast not to route messages

Is there a way to inform "Multicast" not to route messages to some routes, at a given point in time?

Why this is needed -
Multicast routes messages to multiple destination. While processing/routing, few messages reached the intended destination and few did not(say, due to crash). Recovery runs to find out which messages did not reach the destination, basically the combination (message, destination). Now somehow I have to stop the processing of already delivered messages. Multicast will be configured to send the messages to all the intended destinations but after crash the intended destination list would have changed.

So, is there a way I can stop "Multicast", to multicast messages to certain destinations, during the second run(ie. after crash)?

Thanks for the help.
Regards,
Narita Bagchi

________________________________
***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.***

Re: Multicast not to route messages

Posted by Ioannis Canellos <io...@gmail.com>.
>
> May be a Recipient List is what you need:
> http://camel.apache.org/recipient-list.htm<http://camel.apache.org/recipient-list.html>
>

I agree, with the recipient list you will be able to do multicast in a
dynamic fashion and have your implementation decide which will be the
destinations at any given time.

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
*

Re: Multicast not to route messages

Posted by Pham Ngoc Hai <pn...@yahoo.com>.
Hi Narita,
May be a Recipient List is what you need: http://camel.apache.org/recipient-list.html

Regards,
Ngoc Hai



--- On Thu, 9/22/11, Narita Bagchi <Na...@headstrong.com> wrote:

> From: Narita Bagchi <Na...@headstrong.com>
> Subject: Multicast not to route messages
> To: "users@camel.apache.org" <us...@camel.apache.org>
> Date: Thursday, September 22, 2011, 1:04 PM
> Is there a way to inform "Multicast"
> not to route messages to some routes, at a given point in
> time?
> 
> Why this is needed -
> Multicast routes messages to multiple destination. While
> processing/routing, few messages reached the intended
> destination and few did not(say, due to crash). Recovery
> runs to find out which messages did not reach the
> destination, basically the combination (message,
> destination). Now somehow I have to stop the processing of
> already delivered messages. Multicast will be configured to
> send the messages to all the intended destinations but after
> crash the intended destination list would have changed.
> 
> So, is there a way I can stop "Multicast", to multicast
> messages to certain destinations, during the second run(ie.
> after crash)?
> 
> Thanks for the help.
> Regards,
> Narita Bagchi
> 
> ________________________________
> ***The information transmitted is intended only for the
> person or entity to which it is addressed and may contain
> confidential and/or privileged material. Any
> review,retransmission,dissemination or other use of, or
> taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is
> prohibited. If you received this in error, please contact
> the sender and delete the material from any computer.***
>