Hi You can deploy multiple instances of your application/bundle/whatever containing the Camel route.
For example if you have an OSGi bundle that contains the route above, just install the bundle on multiple OSGi containers. Each bundle will set up the route and each bundle will start a hazelcast instance. The hazelcast instances will find each other (as default) per multicasting (if not blocked by firewalls). If multicasting is a problem, you can configure the nodes in a hazelcast.xml file. With this layout you can distribute the load and you also have better availability if one node goes down (as long as the input to direct:foo redirects to other nodes). I'm not sure how to do if you just want to have multiple hazelcast-nodes, but only one instance of your route, I guess you would have to setup the hazelcast grid "standalone" and send messages from your route to it. Stephan On Sun, Mar 16, 2014 at 8:59 AM, doug5791 <tobed...@uwgb.edu> wrote: > I am working with Apache Camel and the Hazelcast component and I would like > to know if there is a way to implement this component in a route that > utilized more than one node in the data-grid. > > An example of the route I am using now that generates ONE node is as > follows: > `from(direct:foo).toF("hazelcast:%stest", HazelcastConstants.LIST_PREFIX);` > > If I happen to be sending large volumes of data through this route, it > would > be nice to have the data dumped to a grid of multiple nodes. > > I found no reference to using multiple nodes here > <http://camel.apache.org/hazelcast-component.html> . > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Hazelcast-How-to-setup-multiple-nodes-tp5748848.html > Sent from the Camel - Users mailing list archive at Nabble.com. >