public class RedisQueueOutboundChannelAdapter extends AbstractMessageHandler
IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
RedisQueueOutboundChannelAdapter(Expression queueNameExpression,
RedisConnectionFactory connectionFactory) |
RedisQueueOutboundChannelAdapter(String queueName,
RedisConnectionFactory connectionFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(Message<?> message) |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setExtractPayload(boolean extractPayload) |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
void |
setLeftPush(boolean leftPush)
Specify if
PUSH operation to Redis List should be LPUSH or RPUSH . |
void |
setSerializer(RedisSerializer<?> serializer) |
handleMessage, onComplete, onError, onNext, onSubscribe
buildSendTimer, destroy, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrack
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getThisAs
getBeanName, getComponentName
public RedisQueueOutboundChannelAdapter(String queueName, RedisConnectionFactory connectionFactory)
public RedisQueueOutboundChannelAdapter(Expression queueNameExpression, RedisConnectionFactory connectionFactory)
public void setExtractPayload(boolean extractPayload)
public void setSerializer(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(EvaluationContext evaluationContext)
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class MessageHandlerSupport
protected void onInit()
IntegrationObjectSupport
onInit
in class IntegrationObjectSupport
protected void handleMessageInternal(Message<?> message)
handleMessageInternal
in class AbstractMessageHandler