org.apache.camel.component.jgroups
Class JGroupsFilters

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

public final class JGroupsFilters
extends Object

JGroups-specific filters factory.


Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Apache Camel