org.springframework.integration.redis.inbound
Class RedisInboundChannelAdapter

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.endpoint.MessageProducerSupport
              extended by org.springframework.integration.redis.inbound.RedisInboundChannelAdapter
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.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.context.NamedComponent, org.springframework.integration.core.MessageProducer, org.springframework.integration.history.TrackableComponent

public class RedisInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport

Since:
2.1

Field Summary
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
RedisInboundChannelAdapter(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 java.lang.String getComponentType()
           
protected  void onInit()
           
 void setMessageConverter(org.springframework.integration.support.converter.MessageConverter messageConverter)
           
 void setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
           
 void setTopics(java.lang.String... topics)
           
 
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport
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, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, 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
 

Constructor Detail

RedisInboundChannelAdapter

public RedisInboundChannelAdapter(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
Method Detail

setSerializer

public void setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)

setTopics

public void setTopics(java.lang.String... topics)

setMessageConverter

public void setMessageConverter(org.springframework.integration.support.converter.MessageConverter messageConverter)

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in interface org.springframework.integration.context.NamedComponent
Overrides:
getComponentType in class org.springframework.integration.context.IntegrationObjectSupport

onInit

protected void onInit()
Overrides:
onInit in class org.springframework.integration.endpoint.MessageProducerSupport

doStart

protected void doStart()
Overrides:
doStart in class org.springframework.integration.endpoint.MessageProducerSupport

doStop

protected void doStop()
Overrides:
doStop in class org.springframework.integration.endpoint.MessageProducerSupport