org.springframework.integration.redis.inbound
Class RedisInboundChannelAdapter
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
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, NamedComponent, MessageProducer, TrackableComponent
public class RedisInboundChannelAdapter
- extends MessageProducerSupport
- Since:
- 2.1
- Author:
- Mark Fisher, Oleg Zhurakousky
Constructor Summary |
RedisInboundChannelAdapter(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
|
Method Summary |
protected void |
doStart()
Takes no action by default. |
protected void |
doStop()
Takes no action by default. |
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
void |
setMessageConverter(MessageConverter messageConverter)
|
void |
setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
|
void |
setTopics(java.lang.String... topics)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RedisInboundChannelAdapter
public RedisInboundChannelAdapter(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
setSerializer
public void setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
setTopics
public void setTopics(java.lang.String... topics)
setMessageConverter
public void setMessageConverter(MessageConverter messageConverter)
getComponentType
public java.lang.String getComponentType()
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this method to provide component type information.
- Specified by:
getComponentType
in interface NamedComponent
- Overrides:
getComponentType
in class IntegrationObjectSupport
onInit
protected void onInit()
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this for initialization logic.
- Overrides:
onInit
in class MessageProducerSupport
doStart
protected void doStart()
- Description copied from class:
MessageProducerSupport
- Takes no action by default. Subclasses may override this if they
need lifecycle-managed behavior.
- Overrides:
doStart
in class MessageProducerSupport
doStop
protected void doStop()
- Description copied from class:
MessageProducerSupport
- Takes no action by default. Subclasses may override this if they
need lifecycle-managed behavior.
- Overrides:
doStop
in class MessageProducerSupport