Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.builder | |
org.apache.camel.builder.xml | |
org.apache.camel.component.directvm |
The Direct VM Component which synchronously invokes
the consumer when a producer sends an exchange to the endpoint.
|
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.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.ref |
Camel Ref 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 | |
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.support |
Base classes that help to implement the camel API and are expected to be extended by the user
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
org.apache.camel.util.toolbox |
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryPredicate
A predicate which evaluates a binary expression.
|
Modifier and Type | Class and Description |
---|---|
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. |
class |
ValueBuilder
A builder of expressions or predicates based on values.
|
Modifier and Type | Field and Description |
---|---|
protected Predicate |
DefaultErrorHandlerBuilder.retryWhile |
Modifier and Type | Method and Description |
---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates)
Concat the given predicates into a single predicate, which
only matches if all the predicates matches.
|
static Predicate |
PredicateBuilder.and(Predicate... predicates)
Concat the given predicates into a single predicate, which only matches
if all the predicates matches.
|
static Predicate |
PredicateBuilder.and(Predicate left,
Predicate right)
A helper method to combine multiple predicates by a logical AND
|
static Predicate |
PredicateBuilder.constant(boolean answer)
A constant predicate.
|
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
|
static Predicate |
PredicateBuilder.endsWith(Expression left,
Expression right) |
Predicate |
ValueBuilder.endsWith(Object value) |
Predicate |
DefaultErrorHandlerBuilder.getRetryWhile() |
Predicate |
DefaultErrorHandlerBuilder.getRetryWhilePolicy(CamelContext context) |
static Predicate |
PredicateBuilder.in(List<Predicate> predicates)
A helper method to return true if any of the predicates matches.
|
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 two 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 |
Modifier and Type | Method and Description |
---|---|
ExpressionClause<Predicate> |
ValueBuilder.matches() |
Modifier and Type | Method and Description |
---|---|
static Predicate |
PredicateBuilder.and(Predicate... predicates)
Concat the given predicates into a single predicate, which only matches
if all the predicates matches.
|
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. |
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 two predicates by a logical OR.
|
void |
DefaultErrorHandlerBuilder.setRetryWhile(Predicate retryWhile) |
NotifyBuilder |
NotifyBuilder.whenAllDoneMatches(Predicate predicate)
|
NotifyBuilder |
NotifyBuilder.whenAllReceivedMatches(Predicate predicate)
|
NotifyBuilder |
NotifyBuilder.whenAnyDoneMatches(Predicate predicate)
|
NotifyBuilder |
NotifyBuilder.whenAnyReceivedMatches(Predicate predicate)
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates)
Concat the given predicates into a single predicate, which
only matches if all the predicates matches.
|
static Predicate |
PredicateBuilder.in(List<Predicate> predicates)
A helper method to return true if any of the predicates matches.
|
Modifier and Type | Class and Description |
---|---|
class |
XPathBuilder
Creates an XPath expression builder which creates a nodeset result by default.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectVmConsumerExpression
The expression to select direct-vm consumers based on ant-like path pattern matching.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertionClause.PredicateValueBuilder
Public class needed for fluent builders
|
class |
TimeClause
Represents time based clauses for setting expectations on the mocks.
|
Modifier and Type | Method and Description |
---|---|
protected Predicate |
AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
static Processor |
CamelConverter.toProcessor(Predicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
BeanExpression
Evaluates an expression using a bean method invocation
|
Modifier and Type | Method and Description |
---|---|
Predicate |
BeanLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
ConstantLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
HeaderLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
PropertyLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
RefLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
SimpleLanguage.createPredicate(String expression) |
protected Predicate |
SimplePredicateParser.doParsePredicate() |
Predicate |
SimplePredicateParser.parsePredicate() |
static Predicate |
SimpleBackwardsCompatibleParser.parsePredicate(String expression,
boolean allowEscape)
Deprecated.
|
static Predicate |
SimpleLanguage.predicate(String predicate)
Creates a new
Predicate . |
Modifier and Type | Method and Description |
---|---|
Predicate |
TokenizeLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
Predicate |
XPathLanguage.createPredicate(String expression) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
WhenSkipSendToEndpointDefinition.createPredicate(RouteContext routeContext) |
protected Predicate |
ExpressionNode.createPredicate(RouteContext routeContext)
Creates the
Predicate from the expression node. |
Predicate |
ExpressionSubElementDefinition.createPredicate(RouteContext routeContext) |
Predicate |
OnExceptionDefinition.getContinuedPolicy() |
Predicate |
OnExceptionDefinition.getHandledPolicy() |
Predicate |
CatchDefinition.getHandledPolicy() |
Predicate |
ExpressionSubElementDefinition.getPredicate() |
Predicate |
OnExceptionDefinition.getRetryWhilePolicy() |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
OnExceptionDefinition |
OnExceptionDefinition.handled(Predicate handled)
Sets whether the exchange should be marked as handled or not.
|
CatchDefinition |
CatchDefinition.handled(Predicate handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
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) |
static ExpressionDefinition |
ExpressionNodeHelper.toExpressionDefinition(Predicate predicate)
Determines which
ExpressionDefinition describes the given predicate best possible. |
ValidateDefinition |
ProcessorDefinition.validate(Predicate predicate)
Creates a validation expression which only if it is true then the
exchange is forwarded to the destination.
|
ChoiceDefinition |
ChoiceDefinition.when(Predicate predicate)
Sets the predicate for the when node
|
InterceptDefinition |
InterceptDefinition.when(Predicate predicate)
Applies this interceptor only if the given predicate is true
|
InterceptSendToEndpointDefinition |
InterceptSendToEndpointDefinition.when(Predicate predicate)
Applies this interceptor only if the given predicate is true
|
Constructor and Description |
---|
AggregateDefinition(Predicate predicate) |
ExpressionNode(Predicate predicate) |
ExpressionSubElementDefinition(Predicate predicate) |
FilterDefinition(Predicate predicate) |
NoOutputExpressionNode(Predicate predicate) |
WhenDefinition(Predicate predicate) |
Modifier and Type | Class and Description |
---|---|
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 |
JsonPathExpression
For JSonPath 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 |
RefExpression
For expressions and predicates using a reference to an existing
Expression or Predicate
to lookup from the Registry . |
class |
RubyExpression
For Ruby expressions and predicates
|
class |
SimpleExpression
For expressions and predicates using the
simple language
|
class |
SpELExpression
For Spring Expression Language (SpEL) expressions and predicates
|
class |
SqlExpression
For SQL expressions and predicates
|
class |
TokenizerExpression
For expressions and predicates using a body or header tokenizer.
|
class |
VtdXmlExpression
For VTD-XML (fast and efficient XPath) expressions and predicates
|
class |
XPathExpression
For XPath expressions and predicates
|
class |
XQueryExpression
For XQuery expressions and predicates
|
Modifier and Type | Method and Description |
---|---|
Predicate |
ExpressionDefinition.createPredicate(CamelContext camelContext) |
Predicate |
XPathExpression.createPredicate(CamelContext camelContext) |
Predicate |
SimpleExpression.createPredicate(CamelContext camelContext) |
Predicate |
TokenizerExpression.createPredicate(CamelContext camelContext) |
Predicate |
MethodCallExpression.createPredicate(CamelContext camelContext) |
Predicate |
ExpressionDefinition.createPredicate(RouteContext routeContext) |
Predicate |
ExpressionDefinition.getPredicate() |
Modifier and Type | Method and Description |
---|---|
protected void |
XQueryExpression.configurePredicate(CamelContext camelContext,
Predicate predicate) |
protected void |
ExpressionDefinition.configurePredicate(CamelContext camelContext,
Predicate predicate) |
protected void |
XPathExpression.configurePredicate(CamelContext camelContext,
Predicate predicate) |
protected void |
JsonPathExpression.configurePredicate(CamelContext camelContext,
Predicate predicate) |
protected void |
NamespaceAwareExpression.configurePredicate(CamelContext camelContext,
Predicate predicate) |
protected void |
JXPathExpression.configurePredicate(CamelContext camelContext,
Predicate predicate) |
Constructor and Description |
---|
ExpressionDefinition(Predicate predicate) |
Modifier and Type | Field and Description |
---|---|
protected Predicate |
RedeliveryErrorHandler.retryWhilePolicy |
Modifier and Type | Method and Description |
---|---|
Predicate |
BatchProcessor.getCompletionPredicate()
Deprecated.
|
protected Predicate |
RedeliveryErrorHandler.getDefaultHandledPredicate() |
protected Predicate |
DeadLetterChannel.getDefaultHandledPredicate() |
Predicate |
FilterProcessor.getPredicate() |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
CatchProcessor(List<Class<? extends Throwable>> exceptions,
Processor processor,
Predicate onWhen,
Predicate handled) |
DeadLetterChannel(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Processor deadLetter,
String deadLetterUri,
boolean useOriginalBodyPolicy,
Predicate retryWhile,
ScheduledExecutorService executorService)
Creates the dead letter channel.
|
DefaultErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Predicate retryWhile,
ScheduledExecutorService executorService)
Creates the default error handler.
|
FilterProcessor(Predicate predicate,
Processor processor) |
OnCompletionProcessor(CamelContext camelContext,
Processor processor,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean onCompleteOnly,
boolean onFailureOnly,
Predicate onWhen,
boolean useOriginalBody) |
RedeliveryErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
Processor deadLetter,
String deadLetterUri,
boolean useOriginalMessagePolicy,
Predicate retryWhile,
ScheduledExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
Predicate |
AggregateProcessor.getCompletionPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
AggregateProcessor.setCompletionPredicate(Predicate completionPredicate) |
Modifier and Type | Method and Description |
---|---|
Predicate |
Tracer.getTraceFilter() |
Modifier and Type | Method and Description |
---|---|
void |
Tracer.setTraceFilter(Predicate traceFilter)
Sets a predicate to be used as filter when tracing
|
Modifier and Type | Method and Description |
---|---|
Predicate |
PredicateValidatingProcessor.getPredicate() |
Predicate |
PredicateValidationException.getPredicate() |
Modifier and Type | Method and Description |
---|---|
protected static String |
PredicateValidationException.buildMessage(Predicate predicate,
Exchange exchange) |
Constructor and Description |
---|
PredicateValidatingProcessor(Predicate predicate) |
PredicateValidationException(Exchange exchange,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Predicate |
Language.createPredicate(String expression)
Creates a predicate based on the given string input
|
Modifier and Type | Class and Description |
---|---|
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 |
class |
TokenPairExpressionIterator
Expression to walk a Message body
using an Iterator , which grabs the content between a start and end token. |
class |
TokenXMLExpressionIterator
Expression to walk a Message XML body
using an Iterator , which grabs the content between a XML start and end token,
where the end token corresponds implicitly to either the end tag or the self-closing start tag. |
class |
TokenXMLPairExpressionIterator
Deprecated.
use
TokenXMLExpressionIterator instead. |
Modifier and Type | Class and Description |
---|---|
class |
ExpressionToPredicateAdapter |
Modifier and Type | Method and Description |
---|---|
static Predicate |
ExpressionToPredicateAdapter.toPredicate(Expression expression)
Converts the given expression into an
Predicate |
Modifier and Type | Method and Description |
---|---|
static void |
PredicateAssertHelper.assertMatches(Predicate predicate,
String text,
Exchange exchange) |
static Expression |
PredicateToExpressionAdapter.toExpression(Predicate predicate)
Converts the given predicate into an
Expression |
Constructor and Description |
---|
PredicateToExpressionAdapter(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
FlexibleAggregationStrategy<E> |
FlexibleAggregationStrategy.condition(Predicate predicate)
Set a filter condition such as only results satisfying it will be aggregated.
|
Apache Camel