org.springframework.integration.gemfire.outbound
Class CacheWritingMessageHandler
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.gemfire.outbound.CacheWritingMessageHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered, org.springframework.integration.context.NamedComponent, org.springframework.integration.context.Orderable, org.springframework.integration.core.MessageHandler, org.springframework.integration.history.TrackableComponent
public class CacheWritingMessageHandler
- extends org.springframework.integration.handler.AbstractMessageHandler
A MessageHandler implementation that writes to a GemFire Region. The
Message's payload must be an instance of java.util.Map.
- Since:
- 2.1
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
logger |
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.integration.context.NamedComponent |
getComponentName |
CacheWritingMessageHandler
public CacheWritingMessageHandler(com.gemstone.gemfire.cache.Region region)
handleMessageInternal
public void handleMessageInternal(org.springframework.integration.Message<?> message)
- Specified by:
handleMessageInternal in class org.springframework.integration.handler.AbstractMessageHandler
setCacheEntries
public void setCacheEntries(java.util.Map<java.lang.String,java.lang.String> cacheEntries)