Class RedisQueueInboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisQueueInboundGatewaySpec, RedisQueueInboundGateway>
org.springframework.integration.dsl.MessagingGatewaySpec<RedisQueueInboundGatewaySpec, RedisQueueInboundGateway>
org.springframework.integration.redis.dsl.RedisQueueInboundGatewaySpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<RedisQueueInboundGateway>,InitializingBean,Lifecycle,Phased,SmartLifecycle
public class RedisQueueInboundGatewaySpec
extends MessagingGatewaySpec<RedisQueueInboundGatewaySpec, RedisQueueInboundGateway>
- 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
ConstructorsModifierConstructorDescriptionprotectedRedisQueueInboundGatewaySpec(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.recoveryInterval(long recoveryInterval) Specify the time (in milliseconds) for the listener task should sleep after exceptions on the "right pop" operation before restarting the listener task.serializer(RedisSerializer<?> serializer) Specify the redis serializer.taskExecutor(Executor taskExecutor) Specify anExecutorfor the underlying listening task.Methods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, 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
-
RedisQueueInboundGatewaySpec
-
-
Method Details
-
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:
-
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:
-
taskExecutor
Specify anExecutorfor the underlying listening task.- Parameters:
taskExecutor- the taskExecutor- Returns:
- the spec
- See Also:
-
recoveryInterval
Specify the time (in milliseconds) for the listener task should sleep after exceptions on the "right pop" operation before restarting the listener task.- Parameters:
recoveryInterval- the recoveryInterval- Returns:
- the spec
- See Also:
-