public class RedisOutboundGateway extends AbstractReplyProducingMessageHandler implements IntegrationEvaluationContextAware
AbstractReplyProducingMessageHandler.RequestHandler
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
RedisOutboundGateway(RedisConnectionFactory connectionFactory) |
RedisOutboundGateway(RedisTemplate<?,?> redisTemplate) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected Object |
handleRequestMessage(Message<?> requestMessage)
Subclasses must implement this method to handle the request Message.
|
void |
setArgumentsSerializer(RedisSerializer<?> serializer) |
void |
setArgumentsStrategy(ArgumentsStrategy argumentsStrategy) |
void |
setCommandExpression(String commandExpression) |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
doInit, doInvokeAdvisedRequestHandler, getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setOutputChannelName, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public RedisOutboundGateway(RedisTemplate<?,?> redisTemplate)
public RedisOutboundGateway(RedisConnectionFactory connectionFactory)
public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
setIntegrationEvaluationContext
in interface IntegrationEvaluationContextAware
public void setArgumentsSerializer(RedisSerializer<?> serializer)
public void setCommandExpression(String commandExpression)
public void setArgumentsStrategy(ArgumentsStrategy argumentsStrategy)
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class AbstractMessageHandler
protected Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
requestMessage
- The request message.null
.