Class JGroupsFilters

java.lang.Object
org.apache.camel.component.jgroups.JGroupsFilters

public final class JGroupsFilters extends Object
JGroups-specific filters factory.
  • Method Details

    • dropNonCoordinatorViews

      public static org.apache.camel.Predicate dropNonCoordinatorViews()
      Creates predicate rejecting messages that are instances of org.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.