public class RedisQueueOutboundChannelAdapter extends AbstractMessageHandler
IntegrationManagement.ManagementOverridesEXPRESSION_PARSER, loggerMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
RedisQueueOutboundChannelAdapter(org.springframework.expression.Expression queueNameExpression,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) |
RedisQueueOutboundChannelAdapter(java.lang.String queueName,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(org.springframework.messaging.Message<?> message) |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setExtractPayload(boolean extractPayload) |
void |
setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext) |
void |
setLeftPush(boolean leftPush)
Specify if
PUSH operation to Redis List should be LPUSH or RPUSH. |
void |
setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer) |
configureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic RedisQueueOutboundChannelAdapter(java.lang.String queueName,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
public RedisQueueOutboundChannelAdapter(org.springframework.expression.Expression queueNameExpression,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
public void setExtractPayload(boolean extractPayload)
public void setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
public void setLeftPush(boolean leftPush)
PUSH operation to Redis List should be LPUSH or RPUSH.leftPush - the LPUSH flag. Defaults to true.public void setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext)
public java.lang.String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerprotected void onInit()
throws java.lang.Exception
IntegrationObjectSupportonInit in class AbstractMessageHandlerjava.lang.Exception - Any exception.protected void handleMessageInternal(org.springframework.messaging.Message<?> message)
throws java.lang.Exception
handleMessageInternal in class AbstractMessageHandlerjava.lang.Exception