public class NotificationPublishingMessageHandler extends AbstractMessageHandler implements BeanFactoryAware, InitializingBean
loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
NotificationPublishingMessageHandler(javax.management.ObjectName objectName) |
NotificationPublishingMessageHandler(java.lang.String objectName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(Message<?> message) |
void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setDefaultNotificationType(java.lang.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<javax.management.Notification> notificationMapper)
Set a mapper for creating Notifications from a Message.
|
getOrder, handleMessage, setOrder, setShouldTrackafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetBeanFactoryafterPropertiesSetgetComponentNamepublic NotificationPublishingMessageHandler(javax.management.ObjectName objectName)
public NotificationPublishingMessageHandler(java.lang.String objectName)
public void setNotificationMapper(OutboundMessageMapper<javax.management.Notification> notificationMapper)
notificationMapper - The notification mapper.public void setDefaultNotificationType(java.lang.String defaultNotificationType)
defaultNotificationType - The default notification type.public java.lang.String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerpublic final void onInit()
throws java.lang.Exception
IntegrationObjectSupportonInit in class IntegrationObjectSupportjava.lang.Exception - Any exception.protected void handleMessageInternal(Message<?> message) throws java.lang.Exception
handleMessageInternal in class AbstractMessageHandlerjava.lang.Exception