org.apache.camel.processor.cache
Class CacheBasedTokenReplacer

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

public class CacheBasedTokenReplacer
extends CacheValidate
implements Processor


Constructor Summary
CacheBasedTokenReplacer(String cacheName, String key, String replacementToken)
           
 
Method Summary
 String getCacheName()
           
 String getKey()
           
 String getReplacementToken()
           
 void process(Exchange exchange)
          Processes the message exchange
 void setCacheName(String cacheName)
           
 void setKey(String key)
           
 void setReplacementToken(String replacementToken)
           
 
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

CacheBasedTokenReplacer

public CacheBasedTokenReplacer(String cacheName,
                               String key,
                               String replacementToken)
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)

getReplacementToken

public String getReplacementToken()

setReplacementToken

public void setReplacementToken(String replacementToken)


Apache CAMEL