THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
// Send message to the cluster named 'clusterName' from("direct:start").to("jgroups:clusterName"); |
Predefined filters
Starting from version 2.13.0 of Camel, JGroups component comes with predefined filters factory class named JGroupsFilters.
...
Code Block | ||||
---|---|---|---|---|
| ||||
import static org.apache.camel.component.jgroups.JGroupsFilters.dropNonCoordinatorViews; ... from("jgroups:clusterName?enableViewMessages=true"). filter(dropNonCoordinatorViews()). to("seda:masterNodeEventsQueue"); |
Predefined expressions
Starting from version 2.13.0 of Camel, JGroups component comes with predefined expressions factory class named JGroupsExpressions.
...