this.setKey(key);
}
public void process(Exchange exchange) throws Exception {
// Cache the buffer to the specified Cache against the specified key
cacheManager = new DefaultCacheManagerFactory().instantiateCacheManager();
if (isValid(cacheManager, cacheName, key)) {
cache = cacheManager.getCache(cacheName);
if (LOG.isDebugEnabled()) {
LOG.debug("Replacing Message Body from CacheName " + cacheName + " for key " + key);