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:
DisposableBean,FactoryBean<RedisQueueOutboundGateway>,InitializingBean,Lifecycle,Phased,SmartLifecycle
public class RedisQueueOutboundGatewaySpec
extends MessageHandlerSpec<RedisQueueOutboundGatewaySpec, RedisQueueOutboundGateway>
- 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
ConstructorsModifierConstructorDescriptionprotectedRedisQueueOutboundGatewaySpec(String queueName, 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(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 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
-
RedisQueueOutboundGatewaySpec
-
-
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
Specify the redis serializer.- Parameters:
serializer- the serializer- Returns:
- the spec
- See Also:
-