public class RedisOutboundGateway extends AbstractReplyProducingMessageHandler
AbstractReplyProducingMessageHandler.RequestHandlermessagingTemplateloggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RedisOutboundGateway(RedisConnectionFactory connectionFactory) |
RedisOutboundGateway(RedisTemplate<?,?> redisTemplate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit() |
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)
Deprecated.
in favor of
setExpressionCommand(org.springframework.expression.Expression). Will be changed in a future release
to use an Expression parameter. |
void |
setExpressionCommand(Expression commandExpression)
Temporary, will be changed to
setCommandExpression(java.lang.String) in a future release. |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
doInvokeAdvisedRequestHandler, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReplygetOutputChannel, produceOutput, sendOutputs, setOutputChannel, setOutputChannelName, setSendTimeout, shouldCopyRequestHeaders, shouldSplitOutputconfigureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic RedisOutboundGateway(RedisTemplate<?,?> redisTemplate)
public RedisOutboundGateway(RedisConnectionFactory connectionFactory)
public void setArgumentsSerializer(RedisSerializer<?> serializer)
@Deprecated public void setCommandExpression(String commandExpression)
setExpressionCommand(org.springframework.expression.Expression). Will be changed in a future release
to use an Expression parameter.commandExpression - the expression to set.public void setExpressionCommand(Expression commandExpression)
setCommandExpression(java.lang.String) in a future release.commandExpression - the expression to set.public void setArgumentsStrategy(ArgumentsStrategy argumentsStrategy)
public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
public String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerprotected void doInit()
doInit in class AbstractReplyProducingMessageHandlerprotected Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandlerhandleRequestMessage in class AbstractReplyProducingMessageHandlerrequestMessage - The request message.null.