public class RedisPublishingMessageHandler extends AbstractMessageHandler implements IntegrationEvaluationContextAware
loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RedisPublishingMessageHandler(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 |
setDefaultTopic(String defaultTopic)
Deprecated.
in favor of
setTopicExpression(Expression) or setTopic(String) |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
void |
setMessageConverter(MessageConverter messageConverter) |
void |
setSerializer(RedisSerializer<?> serializer) |
void |
setTopic(String topic) |
void |
setTopicExpression(Expression topicExpression) |
getOrder, handleMessage, setOrder, setShouldTrackafterPropertiesSet, 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 RedisPublishingMessageHandler(RedisConnectionFactory connectionFactory)
public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
setIntegrationEvaluationContext in interface IntegrationEvaluationContextAwarepublic void setSerializer(RedisSerializer<?> serializer)
public void setMessageConverter(MessageConverter messageConverter)
@Deprecated public void setDefaultTopic(String defaultTopic)
setTopicExpression(Expression) or setTopic(String)defaultTopic - The default topic.public void setTopic(String topic)
public void setTopicExpression(Expression topicExpression)
public String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerprotected void onInit()
throws Exception
IntegrationObjectSupportonInit in class IntegrationObjectSupportException - Any exception.protected void handleMessageInternal(Message<?> message) throws Exception
handleMessageInternal in class AbstractMessageHandlerException