Class JGroupsFilters
java.lang.Object
org.apache.camel.component.jgroups.JGroupsFilters
JGroups-specific filters factory.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.camel.Predicate
Creates predicate rejecting messages that are instances oforg.jgroups.View
, but have not been received by the coordinator JGroups node.
-
Method Details
-
dropNonCoordinatorViews
public static org.apache.camel.Predicate dropNonCoordinatorViews()Creates predicate rejecting messages that are instances oforg.jgroups.View
, but have not been received by the coordinator JGroups node. This filter is useful for keeping only view messages indicating that receiving endpoint is a master node.- Returns:
- predicate filtering out non-coordinator view messages.
-