Using jgroups
component on the consumer side of the route will capture
messages received by the JChannel
associated with the endpoint and forward them
to the Camel route. JGroups consumer processes incoming messages asynchronously.
// Capture messages from cluster named // 'clusterName' and send them to Camel route. from("jgroups:clusterName").to("seda:queue");
Using jgroups
component on the producer side of the route will forward body
of the Camel exchanges to the JChannel
instance managed by the endpoint.
// Send message to the cluster named 'clusterName' from("direct:start").to("jgroups:clusterName");