org.apache.camel.builder.xml
Class MessageVariableResolver
java.lang.Object
org.apache.camel.builder.xml.MessageVariableResolver
- All Implemented Interfaces:
- XPathVariableResolver
public class MessageVariableResolver
- extends Object
- implements XPathVariableResolver
A variable resolver for XPath expressions which support properties on the
message, exchange as well as making system properties and environment
properties available.
Implementations of this resolver must be thread safe
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageVariableResolver
public MessageVariableResolver(ThreadLocal<Exchange> exchange)
resolveVariable
public Object resolveVariable(QName name)
- Specified by:
resolveVariable
in interface XPathVariableResolver
addVariable
public void addVariable(String localPart,
Object value)
Apache Camel