org.apache.servicemix.expression
Interface Expression
- All Known Implementing Classes:
- ConstantExpression, FileExtensionPropertyExpression, JaxenStringXPathExpression, JaxenXPathExpression, JAXPBooleanXPathExpression, JAXPNodeSetXPathExpression, JAXPStringXPathExpression, JAXPXPathExpression, JAXPXPathXStreamExpression, PropertyExpression, XMLBeansStringXPathExpression, XMLBeansXPathExpression
public interface Expression
An expression strategy for extracting or calculating some value from a message.
- Version:
- $Revision: 564374 $
Method Summary |
java.lang.Object |
evaluate(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message)
Evaluates the expression on the given exchange and message. |
evaluate
java.lang.Object evaluate(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message)
throws javax.jbi.messaging.MessagingException
- Evaluates the expression on the given exchange and message.
- Parameters:
exchange
- the message exchangemessage
- the message, typically an inbound message
- Returns:
- the value of the expression
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.