public class NotificationPublishingMessageHandler extends AbstractMessageHandler implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
logger| Constructor and Description |
|---|
NotificationPublishingMessageHandler(javax.management.ObjectName objectName) |
NotificationPublishingMessageHandler(java.lang.String objectName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleMessageInternal(org.springframework.messaging.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.
|
getComponentType, getOrder, handleMessage, setOrder, setShouldTrackafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitafterPropertiesSetgetComponentNamepublic NotificationPublishingMessageHandler(javax.management.ObjectName objectName)
public NotificationPublishingMessageHandler(java.lang.String objectName)
public void setNotificationMapper(OutboundMessageMapper<javax.management.Notification> notificationMapper)
public void setDefaultNotificationType(java.lang.String defaultNotificationType)
public final void onInit()
throws java.lang.Exception
IntegrationObjectSupportonInit in class IntegrationObjectSupportjava.lang.Exceptionprotected void handleMessageInternal(org.springframework.messaging.Message<?> message)
throws java.lang.Exception
handleMessageInternal in class AbstractMessageHandlerjava.lang.Exception