camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <hekon...@gmail.com>
Subject Re: Multicast processes in different machine
Date Mon, 11 Feb 2013 21:03:19 GMT
Hi Balachandar,

> Is there is a way that the multicasted processes can be executed in different machines?

You cannot "multicast process" with Camel. What you can do with Camel
is to multicast a message. However massages can be propagated to
another machines.

from("direct:distributeProcessing").multicast().parallelProcessing().to("http://machineA",
"http://machineB", "http://machineC");

Then the particular machine could handle the processing of the given task.

// Deployed on the machine A.
from("jetty://http://localhost").to("bean:taskABean");

However before walking this path, consider using JMS [2] in the
conjunction with the Competing Consumer EIP pattern [3].

Best regards.

[1] http://camel.apache.org/load-balancer.html
[2] http://camel.apache.org/jms.html
[3] http://www.eaipatterns.com/CompetingConsumers.html

--
Henryk Konsek
http://henryk-konsek.blogspot.com

Mime
View raw message