org.apache.camel.processor.cache
Class CacheBasedXPathReplacer

java.lang.Object
  extended by org.apache.camel.processor.cache.CacheValidate
      extended by org.apache.camel.processor.cache.CacheBasedXPathReplacer
All Implemented Interfaces:
Processor

public class CacheBasedXPathReplacer
extends CacheValidate
implements Processor


Constructor Summary
CacheBasedXPathReplacer(String cacheName, String key, String xpath)
           
 
Method Summary
 String getCacheName()
           
 String getKey()
           
 String getXpath()
           
 void process(Exchange exchange)
          Processes the message exchange
 void setCacheName(String cacheName)
           
 void setKey(String key)
           
 void setXpath(String xpath)
           
 
Methods inherited from class org.apache.camel.processor.cache.CacheValidate
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheBasedXPathReplacer

public CacheBasedXPathReplacer(String cacheName,
                               String key,
                               String xpath)
Method Detail

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Parameters:
exchange - the message exchange
Throws:
Exception - if an internal processing error has occurred.

getCacheName

public String getCacheName()

setCacheName

public void setCacheName(String cacheName)

getKey

public String getKey()

setKey

public void setKey(String key)

getXpath

public String getXpath()

setXpath

public void setXpath(String xpath)


Apache CAMEL