Class JGroupsFilters
- java.lang.Object
-
- org.apache.camel.component.jgroups.JGroupsFilters
-
public final class JGroupsFilters extends Object
JGroups-specific filters factory.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.camel.PredicatedropNonCoordinatorViews()Creates predicate rejecting messages that are instances oforg.jgroups.View, but have not been received by the coordinator JGroups node.
-
-
-
Method Detail
-
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.
-
-