Uses of Interface
org.apache.camel.Predicate

Packages that use Predicate
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   
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.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.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
 

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

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()
           
 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 with parameters of type Predicate
static Predicate PredicateBuilder.and(Predicate left, Predicate right)
          A helper method to combine multiple predicates by a logical AND
 DefaultErrorHandlerBuilder DefaultErrorHandlerBuilder.handled(Predicate handled)
          Sets whether the exchange should be marked as handled or not.
 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)
           
 

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)
           
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 ExpressionAdapter.evaluate(org.apache.camel.Exchange, Class) 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.getHandledPolicy()
           
 Predicate CatchDefinition.getHandledPolicy()
           
 Predicate ExpressionSubElementDefinition.getPredicate()
           
 Predicate OnExceptionDefinition.getRetryUntilPolicy()
           
 

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
 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.retryUntil(Predicate until)
          Sets the retry until predicate.
 void OnExceptionDefinition.setHandledPolicy(Predicate handledPolicy)
           
 void CatchDefinition.setHandledPolicy(Predicate handledPolicy)
           
 void ExpressionSubElementDefinition.setPredicate(Predicate predicate)
           
 void OnExceptionDefinition.setRetryUntilPolicy(Predicate retryUntilPolicy)
           
 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)
           
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
 class SqlExpression
          For SQL expressions and predicates
 class TokenizerExpression
          For expressions and predicates using a body or header tokenzier
 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(RouteContext routeContext)
           
 Predicate ExpressionDefinition.createPredicate(RouteContext routeContext)
           
 Predicate ExpressionDefinition.getPredicate()
           
 

Methods in org.apache.camel.model.language with parameters of type Predicate
protected  void XQueryExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void XPathExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void NamespaceAwareExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void ExpressionDefinition.configurePredicate(RouteContext routeContext, 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
           
 

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

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

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

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

Constructors in org.apache.camel.processor.aggregate with parameters of type Predicate
PredicateAggregationCollection(Expression correlationExpression, AggregationStrategy aggregationStrategy, Predicate aggregationCompletedPredicate)
           
 

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.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