Class RedisOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisOutboundGatewaySpec, RedisOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<RedisOutboundGatewaySpec, RedisOutboundGateway>
org.springframework.integration.redis.dsl.RedisOutboundGatewaySpec
- All Implemented Interfaces:
DisposableBean, FactoryBean<RedisOutboundGateway>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class RedisOutboundGatewaySpec
extends MessageHandlerSpec<RedisOutboundGatewaySpec, RedisOutboundGateway>
A
MessageHandlerSpec for a RedisOutboundGateway.- Since:
- 7.1
- Author:
- Jiandong Ma
-
Field Summary
Fields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRedisOutboundGatewaySpec(RedisConnectionFactory connectionFactory) protectedRedisOutboundGatewaySpec(RedisTemplate<?, ?> redisTemplate) -
Method Summary
Modifier and TypeMethodDescriptionargumentsSerializer(RedisSerializer<?> serializer) Specify the argument serializer.argumentsStrategy(ArgumentsStrategy argumentsStrategy) Specify arguments strategy.Specify the command.commandExpression(String commandExpression) Specify the command expression string.commandExpression(Expression commandExpression) Specify the command expression.commandFunction(Function<Message<?>, String> commandFunction) Specify the command function.Methods inherited from class 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 FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
RedisOutboundGatewaySpec
-
RedisOutboundGatewaySpec
-
-
Method Details
-
argumentsSerializer
Specify the argument serializer.- Parameters:
serializer- the serializer- Returns:
- the spec
- See Also:
-
command
Specify the command.- Parameters:
command- the command- Returns:
- the spec
- See Also:
-
commandExpression
Specify the command expression.- Parameters:
commandExpression- the commandExpression- Returns:
- the spec
- See Also:
-
commandExpression
Specify the command expression string.- Parameters:
commandExpression- the commandExpression- Returns:
- the spec
- See Also:
-
commandFunction
Specify the command function.- Parameters:
commandFunction- the commandFunction- Returns:
- the spec
- See Also:
-
argumentsStrategy
Specify arguments strategy.- Parameters:
argumentsStrategy- the argumentsStrategy- Returns:
- the spec
- See Also:
-