org.apache.camel.processor.cache
Class CacheBasedTokenReplacer
java.lang.Object
org.apache.camel.processor.cache.CacheValidate
org.apache.camel.processor.cache.CacheBasedTokenReplacer
- All Implemented Interfaces:
- Processor
public class CacheBasedTokenReplacer
- extends CacheValidate
- implements Processor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheBasedTokenReplacer
public CacheBasedTokenReplacer(String cacheName,
String key,
String replacementToken)
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