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 |
---|---|
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
getComponentType, 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)
protected Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
requestMessage
- The request message.null
.