public class NotificationPublishingMessageHandler extends AbstractMessageHandler implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
logger
Constructor and Description |
---|
NotificationPublishingMessageHandler(ObjectName objectName) |
NotificationPublishingMessageHandler(String objectName) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleMessageInternal(Message<?> message) |
void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setDefaultNotificationType(String defaultNotificationType)
Specify a dot-delimited String representing the Notification type to
use by default when no explicit Notification mapper
has been configured.
|
void |
setNotificationMapper(OutboundMessageMapper<Notification> notificationMapper)
Set a mapper for creating Notifications from a Message.
|
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterPropertiesSet
getComponentName
public NotificationPublishingMessageHandler(ObjectName objectName)
public NotificationPublishingMessageHandler(String objectName)
public void setNotificationMapper(OutboundMessageMapper<Notification> notificationMapper)
public void setDefaultNotificationType(String defaultNotificationType)
public final void onInit() throws Exception
IntegrationObjectSupport
onInit
in class IntegrationObjectSupport
Exception
protected void handleMessageInternal(Message<?> message) throws Exception
handleMessageInternal
in class AbstractMessageHandler
Exception
Copyright © 2016. All rights reserved.