|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.endpoint.AbstractEndpoint org.springframework.integration.endpoint.MessageProducerSupport org.springframework.integration.endpoint.ExpressionMessageProducerSupport org.springframework.integration.gemfire.inbound.CacheListeningMessageProducer
public class CacheListeningMessageProducer
An inbound endpoint that listens to a GemFire region for events and then publishes Messages to
a channel. The default supported event types are CREATED and UPDATED. See the EventType
enum for all options. A SpEL expression may be provided to generate a Message payload by
evaluating that expression against the EntryEvent
instance as the root object. If no
payloadExpression is provided, the EntryEvent
itself will be the payload.
Constructor Summary | |
---|---|
CacheListeningMessageProducer(com.gemstone.gemfire.cache.Region<?,?> region)
|
Method Summary | |
---|---|
protected void |
doStart()
Takes no action by default. |
protected void |
doStop()
Takes no action by default. |
void |
setSupportedEventTypes(EventType... eventTypes)
|
Methods inherited from class org.springframework.integration.endpoint.ExpressionMessageProducerSupport |
---|
evaluatePayloadExpression, setPayloadExpression |
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport |
---|
onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack |
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
---|
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, 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, getComponentType |
Constructor Detail |
---|
public CacheListeningMessageProducer(com.gemstone.gemfire.cache.Region<?,?> region)
Method Detail |
---|
public void setSupportedEventTypes(EventType... eventTypes)
protected void doStart()
MessageProducerSupport
doStart
in class MessageProducerSupport
protected void doStop()
MessageProducerSupport
doStop
in class MessageProducerSupport
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |