org.apache.servicemix.jbi.api
Interface EndpointFilter


public interface EndpointFilter

Represents a filter used to exclude endpoints before choosing which endpoint to use

Version:
$Revision: 564607 $

Method Summary
 boolean evaluate(javax.jbi.servicedesc.ServiceEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange)
          Performs the filter on the endpoint returning true if the endpoint is suitable, based on some capabilities evaluation or false if the endpoint should be ignored.
 

Method Detail

evaluate

boolean evaluate(javax.jbi.servicedesc.ServiceEndpoint endpoint,
                 javax.jbi.messaging.MessageExchange exchange)
Performs the filter on the endpoint returning true if the endpoint is suitable, based on some capabilities evaluation or false if the endpoint should be ignored.



Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.