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 |
---|---|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected java.lang.Object |
handleRequestMessage(Message<?> requestMessage)
Subclasses must implement this method to handle the request Message.
|
void |
setArgumentsSerializer(RedisSerializer<?> serializer) |
void |
setArgumentsStrategy(ArgumentsStrategy argumentsStrategy) |
void |
setCommandExpression(java.lang.String commandExpression) |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
doInit, doInvokeAdvisedRequestHandler, getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, produceReply, 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(java.lang.String commandExpression)
public void setArgumentsStrategy(ArgumentsStrategy argumentsStrategy)
public java.lang.String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class AbstractMessageHandler
protected java.lang.Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
requestMessage
- The request message.null
.