org.apache.camel.builder.xml
Class MessageVariableResolver

java.lang.Object
  extended by 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:
$Revision: 15682 $

Constructor Summary
MessageVariableResolver(ThreadLocal<Exchange> exchange)
           
 
Method Summary
 void addVariable(String localPart, Object value)
           
 Object resolveVariable(QName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageVariableResolver

public MessageVariableResolver(ThreadLocal<Exchange> exchange)
Method Detail

resolveVariable

public Object resolveVariable(QName name)
Specified by:
resolveVariable in interface XPathVariableResolver

addVariable

public void addVariable(String localPart,
                        Object value)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.