Uses of Interface
org.apache.camel.Expression

Packages that use Expression
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.impl Default implementation classes for Camel Core 
org.apache.camel.processor A collection of Processor implementations which are used to implement the Enterprise Integration Patterns 
org.apache.camel.processor.idempotent An implementation of the Idempotent Consumer pattern. 
org.apache.camel.processor.loadbalancer Various load balancer processors 
org.apache.camel.util Utility classes used by the core of Camel and useful for Camel component developers 
 

Uses of Expression in org.apache.camel.builder
 

Classes in org.apache.camel.builder that implement Expression
 class ValueBuilder<E extends Exchange>
          A builder of expressions or predicates based on values.
 

Methods in org.apache.camel.builder that return Expression
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.append(Expression<E> left, Expression<E> right)
          Appends the String evaluations of the two expressions together
protected  Expression<E> ValueBuilder.asExpression(Object value)
           
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.bodyExpression()
          Returns the expression for the exchanges inbound message body
static
<E extends Exchange,T>
Expression<E>
ExpressionBuilder.bodyExpression(Class<T> type)
          Returns the expression for the exchanges inbound message body converted to the given type
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.constantExpression(Object value)
          Returns an expression for the contant value
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.convertTo(Expression expression, Class type)
          Returns an expression which converts the given expression to the given type
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.exchangeExpression()
          Returns the expression for the exchange
 Expression DeadLetterChannelBuilder.getDefaultDeadLetterEndpointExpression()
           
 Expression<E> ValueBuilder.getExpression()
           
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.headerExpression(String headerName)
          Returns an expression for the header value with the given name
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.inMessageExpression()
          Returns the expression for the IN message
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.outBodyExpression()
          Returns the expression for the out messages body
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.propertyExpression(String propertyName)
          Returns an expression for the property value with the given name
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexReplaceAll(Expression<E> expression, String regex, Expression<E> replacementExpression)
          Transforms the expression into a String then performs the regex replaceAll to transform the String and return the result
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexReplaceAll(Expression<E> expression, String regex, String replacement)
          Transforms the expression into a String then performs the regex replaceAll to transform the String and return the result
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexTokenize(Expression<E> expression, String regexTokenizer)
          Returns a tokenize expression which will tokenize the string with the given regex
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.systemProperty(String name)
          Returns an expression for the given system property
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.systemProperty(String name, String defaultValue)
          Returns an expression for the given system property
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.tokenizeExpression(Expression<E> expression, String token)
          Returns a tokenize expression which will tokenize the string with the given token
 

Methods in org.apache.camel.builder with parameters of type Expression
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.append(Expression<E> left, Expression<E> right)
          Appends the String evaluations of the two expressions together
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.append(Expression<E> left, Expression<E> right)
          Appends the String evaluations of the two expressions together
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.contains(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.contains(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.convertTo(Expression expression, Class type)
          Returns an expression which converts the given expression to the given type
static
<E extends Exchange>
String
ExpressionBuilder.evaluateStringExpression(Expression<E> expression, E exchange)
          Evaluates the expression on the given exchange and returns the String representation
 IdempotentConsumerBuilder FromBuilder.idempotentConsumer(Expression messageIdExpression, MessageIdRepository messageIdRepository)
          Creates an IdempotentConsumer to avoid duplicate messages
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThan(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThan(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThanOrEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThanOrEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isInstanceOf(Expression<E> expression, Class type)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThan(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThan(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThanOrEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThanOrEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNotEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNotEqualTo(Expression<E> left, Expression<E> right)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNotNull(Expression<E> expression)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNull(Expression<E> expression)
           
 RecipientListBuilder FromBuilder.recipientList(Expression receipients)
          Creates a dynamic Recipient List pattern.
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.regex(Expression<E> expression, Pattern pattern)
          Returns a predicate which is true if the expression matches the given regular expression
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.regex(Expression<E> expression, String regex)
          Returns a predicate which is true if the expression matches the given regular expression
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexReplaceAll(Expression<E> expression, String regex, Expression<E> replacementExpression)
          Transforms the expression into a String then performs the regex replaceAll to transform the String and return the result
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexReplaceAll(Expression<E> expression, String regex, Expression<E> replacementExpression)
          Transforms the expression into a String then performs the regex replaceAll to transform the String and return the result
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexReplaceAll(Expression<E> expression, String regex, String replacement)
          Transforms the expression into a String then performs the regex replaceAll to transform the String and return the result
 ValueBuilder<E> ValueBuilder.regexReplaceAll(String regex, Expression<E> replacement)
          Replaces all occurrencies of the regular expression with the given replacement
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.regexTokenize(Expression<E> expression, String regexTokenizer)
          Returns a tokenize expression which will tokenize the string with the given regex
 ResequencerBuilder FromBuilder.resequencer(Expression<Exchange>... expressions)
          A builder for the Resequencer pattern where a list of expressions are evaluated to be able to compare the message exchanges to reorder them.
 ResequencerBuilder FromBuilder.resequencer(Expression<Exchange> expression)
          A builder for the Resequencer pattern where an expression is evaluated to be able to compare the message exchanges to reorder them.
static Processor ProcessorBuilder.setBody(Expression expression)
          Creates a processor which sets the body of the IN message to the value of the expression
 FromBuilder FromBuilder.setBody(Expression expression)
          Adds a processor which sets the body on the IN message
 void DeadLetterChannelBuilder.setDefaultDeadLetterEndpointExpression(Expression defaultDeadLetterEndpointExpression)
          Sets the expression used to decide the dead letter channel endpoint for an exchange if no factory is provided via DeadLetterChannelBuilder.setDeadLetterFactory(ProcessorFactory)
static Processor ProcessorBuilder.setHeader(String name, Expression expression)
          Sets the header on the IN message
 FromBuilder FromBuilder.setHeader(String name, Expression expression)
          Adds a processor which sets the header on the IN message
static Processor ProcessorBuilder.setOutBody(Expression expression)
          Creates a processor which sets the body of the IN message to the value of the expression
 FromBuilder FromBuilder.setOutBody(Expression expression)
          Adds a processor which sets the body on the OUT message
static Processor ProcessorBuilder.setOutHeader(String name, Expression expression)
          Sets the header on the OUT message
 FromBuilder FromBuilder.setOutHeader(String name, Expression expression)
          Adds a processor which sets the header on the OUT message
static Processor ProcessorBuilder.setProperty(String name, Expression expression)
          Sets the property on the exchange
 FromBuilder FromBuilder.setProperty(String name, Expression expression)
          Adds a processor which sets the exchange property
 SplitterBuilder FromBuilder.splitter(Expression receipients)
          A builder for the Splitter pattern where an expression is evaluated to iterate through each of the parts of a message and then each part is then send to some endpoint.
static
<E extends Exchange>
Expression<E>
ExpressionBuilder.tokenizeExpression(Expression<E> expression, String token)
          Returns a tokenize expression which will tokenize the string with the given token
 

Method parameters in org.apache.camel.builder with type arguments of type Expression
 ResequencerBuilder FromBuilder.resequencer(List<Expression<Exchange>> expressions)
          A builder for the Resequencer pattern where a list of expressions are evaluated to be able to compare the message exchanges to reorder them.
 

Constructors in org.apache.camel.builder with parameters of type Expression
IdempotentConsumerBuilder(FromBuilder fromBuilder, Expression messageIdExpression, MessageIdRepository messageIdRegistry)
           
RecipientListBuilder(FromBuilder parent, Expression expression)
           
SplitterBuilder(FromBuilder parent, Expression expression)
           
ValueBuilder(Expression<E> expression)
           
 

Constructor parameters in org.apache.camel.builder with type arguments of type Expression
ResequencerBuilder(FromBuilder builder, List<Expression<Exchange>> expressions)
           
 

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

Classes in org.apache.camel.builder.xml that implement Expression
 class XPathBuilder<E extends Exchange>
          Creates an XPath expression builder
 

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

Classes in org.apache.camel.component.mock that implement Expression
 class AssertionClause.PredicateValueBuilder
           
 

Constructors in org.apache.camel.component.mock with parameters of type Expression
AssertionClause.PredicateValueBuilder(Expression<E> expression)
           
 

Uses of Expression in org.apache.camel.impl
 

Constructors in org.apache.camel.impl with parameters of type Expression
BinaryPredicateSupport(Expression<E> left, Expression<E> right)
           
BinaryPredicateSupport(Expression<E> left, Expression<E> right)
           
 

Uses of Expression in org.apache.camel.processor
 

Methods in org.apache.camel.processor with parameters of type Expression
protected static Set<Exchange> Resequencer.createSet(Expression<Exchange> expression)
           
 

Method parameters in org.apache.camel.processor with type arguments of type Expression
protected static Set<Exchange> Resequencer.createSet(List<Expression<Exchange>> expressions)
           
 

Constructors in org.apache.camel.processor with parameters of type Expression
RecipientList(Expression<Exchange> expression)
           
Resequencer(Endpoint endpoint, Processor processor, Expression<Exchange> expression)
           
Splitter(Processor destination, Expression expression)
           
 

Constructor parameters in org.apache.camel.processor with type arguments of type Expression
Resequencer(Endpoint endpoint, Processor processor, List<Expression<Exchange>> expressions)
           
 

Uses of Expression in org.apache.camel.processor.idempotent
 

Methods in org.apache.camel.processor.idempotent that return Expression
 Expression NoMessageIdException.getExpression()
          The expression which was used
 Expression<Exchange> IdempotentConsumer.getMessageIdExpression()
           
 

Constructors in org.apache.camel.processor.idempotent with parameters of type Expression
IdempotentConsumer(Expression<Exchange> messageIdExpression, MessageIdRepository messageIdRepository, Processor nextProcessor)
           
NoMessageIdException(Exchange exchange, Expression expression)
           
 

Uses of Expression in org.apache.camel.processor.loadbalancer
 

Constructors in org.apache.camel.processor.loadbalancer with parameters of type Expression
StickyLoadBalancer(Expression<Exchange> correlationExpression)
           
StickyLoadBalancer(Expression<Exchange> correlationExpression, QueueLoadBalancer loadBalancer)
           
 

Uses of Expression in org.apache.camel.util
 

Methods in org.apache.camel.util with parameters of type Expression
static
<E extends Exchange>
String
ExpressionHelper.evaluateAsString(Expression<E> expression, E exchange)
          Evaluates the given expression on the exchange as a String value
static
<T,E extends Exchange>
T
ExpressionHelper.evaluateAsType(Expression<E> expression, E exchange, Class<T> resultType)
          Evaluates the given expression on the exchange, converting the result to the given type
 

Constructors in org.apache.camel.util with parameters of type Expression
ExpressionComparator(Expression<E> expression)
           
 

Constructor parameters in org.apache.camel.util with type arguments of type Expression
ExpressionListComparator(List<Expression<E>> expressions)
           
 



Copyright © 2007 Apache Software Foundation. All Rights Reserved.