Class RedisStoreInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisStoreInboundChannelAdapterSpec, RedisStoreMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<RedisStoreInboundChannelAdapterSpec, RedisStoreMessageSource>
org.springframework.integration.redis.dsl.RedisStoreInboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<RedisStoreMessageSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle
public class RedisStoreInboundChannelAdapterSpec
extends MessageSourceSpec<RedisStoreInboundChannelAdapterSpec, RedisStoreMessageSource>
A
MessageSourceSpec for a RedisStoreMessageSource.- Since:
- 7.1
- Author:
- Jiandong Ma
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRedisStoreInboundChannelAdapterSpec(RedisConnectionFactory connectionFactory, Expression keyExpression) protectedRedisStoreInboundChannelAdapterSpec(RedisTemplate<String, ?> redisTemplate, Expression keyExpression) -
Method Summary
Modifier and TypeMethodDescriptioncollectionType(RedisCollectionFactoryBean.CollectionType collectionType) Specify the collection type.Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
RedisStoreInboundChannelAdapterSpec
protected RedisStoreInboundChannelAdapterSpec(RedisTemplate<String, ?> redisTemplate, Expression keyExpression) -
RedisStoreInboundChannelAdapterSpec
protected RedisStoreInboundChannelAdapterSpec(RedisConnectionFactory connectionFactory, Expression keyExpression)
-
-
Method Details
-
collectionType
public RedisStoreInboundChannelAdapterSpec collectionType(RedisCollectionFactoryBean.CollectionType collectionType) Specify the collection type. supported collections are LIST, SET, ZSET, PROPERTIES, and MAP.- Parameters:
collectionType- the collectionType- Returns:
- the spec
- See Also:
-