Class RedisQueueOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisQueueOutboundGatewaySpec, RedisQueueOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<RedisQueueOutboundGatewaySpec, RedisQueueOutboundGateway>
org.springframework.integration.redis.dsl.RedisQueueOutboundGatewaySpec
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<RedisQueueOutboundGateway>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
public class RedisQueueOutboundGatewaySpec
extends org.springframework.integration.dsl.MessageHandlerSpec<RedisQueueOutboundGatewaySpec, RedisQueueOutboundGateway>
A
MessageHandlerSpec for a RedisQueueOutboundGateway.- 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
ConstructorsModifierConstructorDescriptionprotectedRedisQueueOutboundGatewaySpec(String queueName, org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionextractPayload(boolean extractPayload) Specify whether extract payload.receiveTimeout(long receiveTimeout) Specify the receiveTimeout.receiveTimeout(Duration receiveTimeout) Specify the receiveTimeout.serializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer) Specify the redis serializer.Methods 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
-
RedisQueueOutboundGatewaySpec
protected RedisQueueOutboundGatewaySpec(String queueName, org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
-
-
Method Details
-
receiveTimeout
Specify the receiveTimeout.- Parameters:
receiveTimeout- the receiveTimeout- Returns:
- the spec
- See Also:
-
receiveTimeout
Specify the receiveTimeout.- Parameters:
receiveTimeout- the receiveTimeout- Returns:
- the spec
- See Also:
-
extractPayload
Specify whether extract payload.- Parameters:
extractPayload- the extractPayload- Returns:
- the spec
- See Also:
-
serializer
public RedisQueueOutboundGatewaySpec serializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer) Specify the redis serializer.- Parameters:
serializer- the serializer- Returns:
- the spec
- See Also:
-