camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pmp.martins" <>
Subject Difference between multicast and recipent-list ?
Date Sun, 10 Nov 2013 12:42:00 GMT
So, after reading some documentation and getting a lot of help from you guys
here, I finally implemented a recipient list that choose the endpoints
dynamically (a dynamic recipient list):

In my code, MainApp_A generates reports every 10 seconds, and I want it to
send the reports to all the servers at the same time, instead of doing it
one by one. Thus I have developed the following route.


		main.addRouteBuilder(new RouteBuilder(){
			public void configure() throws Exception {
				.beanRef("recipientListBean", "route").end()


	public Set<String> route(String body) {
		return servers; //returns a collection of several severs


I also checked the documentation for the Multicast pattern and the Dynamic

Now I have a few questions and I am confused. So I have a few questions:
1 - Is the recipient dynamic list simply the junction of the Multicast
pattern with the Dynamic Route Pattern?
2 - the multicast() call alone is purely sequential right? What is the
difference between using multicast() and recipientList()?
3 - For both multicast() and recipientList() to be concorrent I have to use
parallelProcessing(). In my case, which is more efficient?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message