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:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<RedisStoreMessageSource>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
public class RedisStoreInboundChannelAdapterSpec
extends org.springframework.integration.dsl.MessageSourceSpec<RedisStoreInboundChannelAdapterSpec, RedisStoreMessageSource>
A
MessageSourceSpec for a RedisStoreMessageSource.- Since:
- 7.1
-
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(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, org.springframework.expression.Expression keyExpression) protectedRedisStoreInboundChannelAdapterSpec(org.springframework.data.redis.core.RedisTemplate<String, ?> redisTemplate, org.springframework.expression.Expression keyExpression) -
Method Summary
Modifier and TypeMethodDescriptioncollectionType(org.springframework.data.redis.support.collections.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 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, pause, restart
-
Constructor Details
-
RedisStoreInboundChannelAdapterSpec
protected RedisStoreInboundChannelAdapterSpec(org.springframework.data.redis.core.RedisTemplate<String, ?> redisTemplate, org.springframework.expression.Expression keyExpression) -
RedisStoreInboundChannelAdapterSpec
protected RedisStoreInboundChannelAdapterSpec(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, org.springframework.expression.Expression keyExpression)
-
-
Method Details
-
collectionType
public RedisStoreInboundChannelAdapterSpec collectionType(org.springframework.data.redis.support.collections.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:
-