Uses of Interface
org.apache.camel.Predicate

Packages that use Predicate
org.apache.camel The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.builder The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers
org.apache.camel.builder.xml Support for XPath based Expressions and Predicates as well as an XSLT processor 
org.apache.camel.component.mock The Mock Component which is used for testing of routing and mediation rules. 
org.apache.camel.converter A set of helper classes for converting from different types of Java object to be used by the Type Conversion Support 
org.apache.camel.impl Default implementation classes for Camel Core 
org.apache.camel.language.bean Camel Bean language. 
org.apache.camel.language.constant Camel Constant language. 
org.apache.camel.language.header Camel Header language. 
org.apache.camel.language.property Camel Property language. 
org.apache.camel.language.simple Camel Simple language. 
org.apache.camel.language.tokenizer Camel Tokenizer language. 
org.apache.camel.language.xpath Camel XPath language support. 
org.apache.camel.model The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.model.language The JAXB POJOs for the Expression and Predicate plugins for the XML Configuration
org.apache.camel.processor A collection of Processor implementations which are used to implement the Enterprise Integration Patterns 
org.apache.camel.processor.aggregate Helper classes for the Aggregator pattern. 
org.apache.camel.processor.interceptor Helper classes for interceptors. 
org.apache.camel.processor.validation Performs XML validation using JAXP for validating against XSD or RelaxNG 
org.apache.camel.spi Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. 
org.apache.camel.util Utility classes used by the core of Camel and useful for Camel component developers 
 

Uses of Predicate in org.apache.camel
 

Subinterfaces of Predicate in org.apache.camel
 interface BinaryPredicate
          A predicate which is evaluating a binary expression.
 

Uses of Predicate in org.apache.camel.builder
 

Classes in org.apache.camel.builder that implement Predicate
 class BinaryPredicateSupport
          A useful base class for Predicate implementations
 class ExpressionClause<T>
          Represents an expression clause within the DSL which when the expression is complete the clause continues to another part of the DSL
 class SimpleBuilder
          Creates an Simple language builder.
 

Fields in org.apache.camel.builder declared as Predicate
protected  Predicate DefaultErrorHandlerBuilder.handledPolicy
           
protected  Predicate DefaultErrorHandlerBuilder.retryWhile
           
 

Methods in org.apache.camel.builder that return Predicate
static Predicate PredicateBuilder.and(Predicate left, Predicate right)
          A helper method to combine multiple predicates by a logical AND
static Predicate PredicateBuilder.contains(Expression left, Expression right)
           
 Predicate ValueBuilder.contains(Object value)
          Create a predicate that the left hand expression contains the value of the right hand expression
protected  Predicate DefaultErrorHandlerBuilder.createHandledPolicy()
           
protected  Predicate DeadLetterChannelBuilder.createHandledPolicy()
           
static Predicate PredicateBuilder.endsWith(Expression left, Expression right)
           
 Predicate ValueBuilder.endsWith(Object value)
           
 Predicate DefaultErrorHandlerBuilder.getHandledPolicy()
          Deprecated. 
 Predicate DefaultErrorHandlerBuilder.getRetryWhile()
           
 Predicate DefaultErrorHandlerBuilder.getRetryWhilePolicy(CamelContext context)
           
 Predicate ValueBuilder.in(Object... values)
           
 Predicate ValueBuilder.in(Predicate... predicates)
           
static Predicate PredicateBuilder.in(Predicate... predicates)
          A helper method to return true if any of the predicates matches.
static Predicate PredicateBuilder.isEqualTo(Expression left, Expression right)
           
 Predicate ValueBuilder.isEqualTo(Object value)
           
static Predicate PredicateBuilder.isGreaterThan(Expression left, Expression right)
           
 Predicate ValueBuilder.isGreaterThan(Object value)
           
static Predicate PredicateBuilder.isGreaterThanOrEqualTo(Expression left, Expression right)
           
 Predicate ValueBuilder.isGreaterThanOrEqualTo(Object value)
           
 Predicate ValueBuilder.isInstanceOf(Class<?> type)
           
static Predicate PredicateBuilder.isInstanceOf(Expression expression, Class<?> type)
           
static Predicate PredicateBuilder.isLessThan(Expression left, Expression right)
           
 Predicate ValueBuilder.isLessThan(Object value)
           
static Predicate PredicateBuilder.isLessThanOrEqualTo(Expression left, Expression right)
           
 Predicate ValueBuilder.isLessThanOrEqualTo(Object value)
           
static Predicate PredicateBuilder.isNotEqualTo(Expression left, Expression right)
           
 Predicate ValueBuilder.isNotEqualTo(Object value)
           
 Predicate ValueBuilder.isNotNull()
           
static Predicate PredicateBuilder.isNotNull(Expression expression)
           
 Predicate ValueBuilder.isNull()
           
static Predicate PredicateBuilder.isNull(Expression expression)
           
 Predicate ValueBuilder.matches(Expression expression)
           
 Predicate ValueBuilder.not(Predicate predicate)
           
static Predicate PredicateBuilder.not(Predicate predicate)
          A helper method to return the logical not of the given predicate
protected  Predicate ValueBuilder.onNewPredicate(Predicate predicate)
          A strategy method to allow derived classes to deal with the newly created predicate in different ways
static Predicate PredicateBuilder.or(Predicate left, Predicate right)
          A helper method to combine multiple predicates by a logical OR
static Predicate PredicateBuilder.regex(Expression expression, Pattern pattern)
          Returns a predicate which is true if the expression matches the given regular expression
static Predicate PredicateBuilder.regex(Expression expression, String regex)
          Returns a predicate which is true if the expression matches the given regular expression
 Predicate ValueBuilder.regex(String regex)
          Creates a predicate which is true if this expression matches the given regular expression
static Predicate PredicateBuilder.startsWith(Expression left, Expression right)
           
 Predicate ValueBuilder.startsWith(Object value)
           
static Predicate PredicateBuilder.toPredicate(Expression expression)
          Converts the given expression into an Predicate
 

Methods in org.apache.camel.builder that return types with arguments of type Predicate
 ExpressionClause<Predicate> ValueBuilder.matches()
           
 

Methods in org.apache.camel.builder with parameters of type Predicate
static Predicate PredicateBuilder.and(Predicate left, Predicate right)
          A helper method to combine multiple predicates by a logical AND
 NotifyBuilder NotifyBuilder.filter(Predicate predicate)
          Optionally a filter to only allow matching Exchange to be used for matching.
 DefaultErrorHandlerBuilder DefaultErrorHandlerBuilder.handled(Predicate handled)
          Deprecated. 
 Predicate ValueBuilder.in(Predicate... predicates)
           
static Predicate PredicateBuilder.in(Predicate... predicates)
          A helper method to return true if any of the predicates matches.
 Predicate ValueBuilder.not(Predicate predicate)
           
static Predicate PredicateBuilder.not(Predicate predicate)
          A helper method to return the logical not of the given predicate
protected  Predicate ValueBuilder.onNewPredicate(Predicate predicate)
          A strategy method to allow derived classes to deal with the newly created predicate in different ways
static Predicate PredicateBuilder.or(Predicate left, Predicate right)
          A helper method to combine multiple predicates by a logical OR
 void DefaultErrorHandlerBuilder.setHandledPolicy(Predicate handled)
          Deprecated. 
 void DefaultErrorHandlerBuilder.setRetryWhile(Predicate retryWhile)
           
 NotifyBuilder NotifyBuilder.whenAllDoneMatches(Predicate predicate)
          Sets a condition that all done Exchange should match the Predicate
 NotifyBuilder NotifyBuilder.whenAllReceivedMatches(Predicate predicate)
          Sets a condition that all received Exchange should match the Predicate
 NotifyBuilder NotifyBuilder.whenAnyDoneMatches(Predicate predicate)
          Sets a condition that any done Exchange should match the Predicate
 NotifyBuilder NotifyBuilder.whenAnyReceivedMatches(Predicate predicate)
          Sets a condition that any received Exchange should match the Predicate
 

Uses of Predicate in org.apache.camel.builder.xml
 

Classes in org.apache.camel.builder.xml that implement Predicate
 class XPathBuilder
          Creates an XPath expression builder which creates a nodeset result by default.
 

Uses of Predicate in org.apache.camel.component.mock
 

Methods in org.apache.camel.component.mock that return Predicate
protected  Predicate AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate predicate)
           
 

Methods in org.apache.camel.component.mock with parameters of type Predicate
protected  void AssertionClause.addPredicate(Predicate predicate)
           
 void MockEndpoint.expectedMessagesMatches(Predicate... predicates)
          Sets an expectation that the given predicates matches the received messages by this endpoint
protected  Predicate AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate predicate)
           
 AssertionClause AssertionClause.predicate(Predicate predicate)
          Adds the given predicate to this assertion clause
 

Uses of Predicate in org.apache.camel.converter
 

Methods in org.apache.camel.converter with parameters of type Predicate
 Processor CamelConverter.toProcessor(Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.impl
 

Classes in org.apache.camel.impl that implement Predicate
 class ExpressionAdapter
          A helper class for developers wishing to implement an Expression using Java code with a minimum amount of code to write so that the developer only needs to implement one of the ExpressionAdapter.evaluate(org.apache.camel.Exchange, Class) or ExpressionSupport.evaluate(org.apache.camel.Exchange) methods.
 class ExpressionSupport
          A useful base class for Predicate and Expression implementations
 

Uses of Predicate in org.apache.camel.language.bean
 

Classes in org.apache.camel.language.bean that implement Predicate
 class BeanExpression
          Evaluates an expression using a bean method invocation
 

Methods in org.apache.camel.language.bean that return Predicate
 Predicate BeanLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.constant
 

Methods in org.apache.camel.language.constant that return Predicate
 Predicate ConstantLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.header
 

Methods in org.apache.camel.language.header that return Predicate
 Predicate HeaderLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.property
 

Methods in org.apache.camel.language.property that return Predicate
 Predicate PropertyLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.simple
 

Methods in org.apache.camel.language.simple that return Predicate
 Predicate SimpleLanguageSupport.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.tokenizer
 

Methods in org.apache.camel.language.tokenizer that return Predicate
 Predicate TokenizeLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.xpath
 

Methods in org.apache.camel.language.xpath that return Predicate
 Predicate XPathLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.model
 

Methods in org.apache.camel.model that return Predicate
 Predicate ExpressionSubElementDefinition.createPredicate(RouteContext routeContext)
           
 Predicate OnExceptionDefinition.getContinuedPolicy()
           
 Predicate OnExceptionDefinition.getHandledPolicy()
           
 Predicate CatchDefinition.getHandledPolicy()
           
 Predicate ExpressionSubElementDefinition.getPredicate()
           
 Predicate OnExceptionDefinition.getRetryWhilePolicy()
           
 

Methods in org.apache.camel.model with parameters of type Predicate
 AggregateDefinition AggregateDefinition.completionPredicate(Predicate predicate)
          Sets the predicate used to determine if the aggregation is completed
 OnExceptionDefinition OnExceptionDefinition.continued(Predicate continued)
          Sets whether the exchange should be marked as handled or not.
 FilterDefinition ProcessorDefinition.filter(Predicate predicate)
          Message Filter EIP: Creates a predicate which is applied and only if it is true then the exchange is forwarded to the destination
 TryDefinition TryDefinition.handled(Predicate handled)
          Sets whether the exchange should be marked as handled or not.
 OnExceptionDefinition OnExceptionDefinition.handled(Predicate handled)
          Sets whether the exchange should be marked as handled or not.
 CatchDefinition CatchDefinition.handled(Predicate handled)
          Sets whether the exchange should be marked as handled or not.
 TryDefinition TryDefinition.onWhen(Predicate predicate)
          Sets an additional predicate that should be true before the onCatch is triggered.
 OnExceptionDefinition OnExceptionDefinition.onWhen(Predicate predicate)
          Sets an additional predicate that should be true before the onException is triggered.
 OnCompletionDefinition OnCompletionDefinition.onWhen(Predicate predicate)
          Sets an additional predicate that should be true before the onCompletion is triggered.
 CatchDefinition CatchDefinition.onWhen(Predicate predicate)
          Sets an additional predicate that should be true before the onCatch is triggered.
 OnExceptionDefinition OnExceptionDefinition.retryWhile(Predicate retryWhile)
          Sets the retry while predicate.
 void OnExceptionDefinition.setContinuedPolicy(Predicate continuedPolicy)
           
 void OnExceptionDefinition.setHandledPolicy(Predicate handledPolicy)
           
 void CatchDefinition.setHandledPolicy(Predicate handledPolicy)
           
 void ExpressionSubElementDefinition.setPredicate(Predicate predicate)
           
 void OnExceptionDefinition.setRetryWhilePolicy(Predicate retryWhilePolicy)
           
 ValidateDefinition ProcessorDefinition.validate(Predicate predicate)
          Creates a validation expression which only if it is true then the exchange is forwarded to the destination.
 ChoiceDefinition InterceptSendToEndpointDefinition.when(Predicate predicate)
          Applies this interceptor only if the given predicate is true
 ChoiceDefinition InterceptDefinition.when(Predicate predicate)
          Applies this interceptor only if the given predicate is true
 ChoiceDefinition ChoiceDefinition.when(Predicate predicate)
          Sets the predicate for the when node
 

Constructors in org.apache.camel.model with parameters of type Predicate
AggregateDefinition(Predicate predicate)
           
ExpressionNode(Predicate predicate)
           
ExpressionSubElementDefinition(Predicate predicate)
           
FilterDefinition(Predicate predicate)
           
NoOutputExpressionNode(Predicate predicate)
           
WhenDefinition(Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.model.language
 

Classes in org.apache.camel.model.language that implement Predicate
 class ConstantExpression
          For expressions and predicates using a constant
 class ELExpression
          For EL expressions and predicates
 class ExpressionDefinition
          A useful base class for an expression
 class GroovyExpression
          For Groovy expressions and predicates
 class HeaderExpression
          An expression which extracts the named header
 class JavaScriptExpression
          For JavaScript expressions and predicates
 class JXPathExpression
          For JXPath expressions and predicates
 class LanguageExpression
          Represents a parameterised language expression which can support any language at runtime using the language attribute.
 class MethodCallExpression
          For expressions and predicates using the bean language
 class MvelExpression
          For MVEL expressions and predicates
 class NamespaceAwareExpression
          A useful base class for any expression which may be namespace or XML content aware such as XPathExpression or XQueryExpression
 class OgnlExpression
          For OGNL expressions and predicates
 class PhpExpression
          For PHP expressions and predicates
 class PropertyExpression
          An expression which extracts the named exchange property
 class PythonExpression
          For Python expressions and predicates
 class RubyExpression
          For Ruby expressions and predicates
 class SimpleExpression
          For expressions and predicates using the simple language
 class SqlExpression
          For SQL expressions and predicates
 class TokenizerExpression
          For expressions and predicates using a body or header tokenizer
 class XPathExpression
          For XPath expressions and predicates
 class XQueryExpression
          For XQuery expressions and predicates
 

Methods in org.apache.camel.model.language that return Predicate
 Predicate MethodCallExpression.createPredicate(CamelContext camelContext)
           
 Predicate ExpressionDefinition.createPredicate(CamelContext camelContext)
           
 Predicate ExpressionDefinition.createPredicate(RouteContext routeContext)
           
 Predicate ExpressionDefinition.getPredicate()
           
 

Methods in org.apache.camel.model.language with parameters of type Predicate
protected  void XQueryExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void XPathExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void NamespaceAwareExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void ExpressionDefinition.configurePredicate(CamelContext camelContext, Predicate predicate)
           
 

Constructors in org.apache.camel.model.language with parameters of type Predicate
ExpressionDefinition(Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.processor
 

Fields in org.apache.camel.processor declared as Predicate
protected  Predicate RedeliveryErrorHandler.handledPolicy
           
protected  Predicate RedeliveryErrorHandler.retryWhilePolicy
           
 

Methods in org.apache.camel.processor that return Predicate
 Predicate BatchProcessor.getCompletionPredicate()
          Deprecated.  
 Predicate FilterProcessor.getPredicate()
           
 

Methods in org.apache.camel.processor with parameters of type Predicate
 void BatchProcessor.setCompletionPredicate(Predicate completionPredicate)
          Deprecated.  
 boolean RedeliveryPolicy.shouldRedeliver(Exchange exchange, int redeliveryCounter, Predicate retryWhile)
          Returns true if the policy decides that the message exchange should be redelivered.
 

Constructors in org.apache.camel.processor with parameters of type Predicate
CatchProcessor(List<Class> exceptions, Processor processor, Predicate onWhen, Predicate handled)
           
DeadLetterChannel(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, ExceptionPolicyStrategy exceptionPolicyStrategy, Processor deadLetter, String deadLetterUri, boolean useOriginalBodyPolicy, Predicate retryWhile)
          Creates the dead letter channel.
DefaultErrorHandler(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, ExceptionPolicyStrategy exceptionPolicyStrategy, Predicate retryWhile)
          Creates the default error handler.
FilterProcessor(Predicate predicate, Processor processor)
           
OnCompletionProcessor(CamelContext camelContext, Processor processor, ExecutorService executorService, boolean onCompleteOnly, boolean onFailureOnly, Predicate onWhen, boolean useOriginalBody)
           
RedeliveryErrorHandler(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, Processor deadLetter, String deadLetterUri, boolean useOriginalMessagePolicy, Predicate retryWhile)
           
 

Uses of Predicate in org.apache.camel.processor.aggregate
 

Methods in org.apache.camel.processor.aggregate that return Predicate
 Predicate AggregateProcessor.getCompletionPredicate()
           
 

Methods in org.apache.camel.processor.aggregate with parameters of type Predicate
 void AggregateProcessor.setCompletionPredicate(Predicate completionPredicate)
           
 

Uses of Predicate in org.apache.camel.processor.interceptor
 

Methods in org.apache.camel.processor.interceptor that return Predicate
 Predicate Tracer.getTraceFilter()
           
 

Methods in org.apache.camel.processor.interceptor with parameters of type Predicate
 void Tracer.setTraceFilter(Predicate traceFilter)
          Sets a predicate to be used as filter when tracing
 

Uses of Predicate in org.apache.camel.processor.validation
 

Methods in org.apache.camel.processor.validation that return Predicate
 Predicate PredicateValidationException.getPredicate()
           
 Predicate PredicateValidatingProcessor.getPredicate()
           
 

Methods in org.apache.camel.processor.validation with parameters of type Predicate
protected static String PredicateValidationException.buildMessage(Predicate predicate, Exchange exchange)
           
 

Constructors in org.apache.camel.processor.validation with parameters of type Predicate
PredicateValidatingProcessor(Predicate predicate)
           
PredicateValidationException(Exchange exchange, Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.spi
 

Methods in org.apache.camel.spi that return Predicate
 Predicate Language.createPredicate(String expression)
          Creates a predicate based on the given string input
 

Uses of Predicate in org.apache.camel.util
 

Methods in org.apache.camel.util with parameters of type Predicate
static void PredicateAssertHelper.assertMatches(Predicate predicate, String text, Exchange exchange)
           
 



Apache CAMEL