org.apache.camel.processor.cache
Class CacheBasedMessageBodyReplacer

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

public class CacheBasedMessageBodyReplacer
extends CacheValidate
implements Processor


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

CacheBasedMessageBodyReplacer

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


Apache CAMEL