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 messge, exchange as well
as making system properties and environment properties available.
- Version:
- $Revision: 521692 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_PROPERTIES_NAMESPACE
public static final String SYSTEM_PROPERTIES_NAMESPACE
- See Also:
- Constant Field Values
ENVIRONMENT_VARIABLES
public static final String ENVIRONMENT_VARIABLES
- See Also:
- Constant Field Values
EXCHANGE_PROPERTY
public static final String EXCHANGE_PROPERTY
- See Also:
- Constant Field Values
IN_HEADER
public static final String IN_HEADER
- See Also:
- Constant Field Values
OUT_HEADER
public static final String OUT_HEADER
- See Also:
- Constant Field Values
MessageVariableResolver
public MessageVariableResolver()
getExchange
public Exchange getExchange()
setExchange
public void setExchange(Exchange exchange)
resolveVariable
public Object resolveVariable(QName name)
- Specified by:
resolveVariable
in interface XPathVariableResolver
addVariable
public void addVariable(String localPart,
Object value)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.