Notifications Configuration Reference
This page provides details on the elements you configure for notifications. If the information appears to be out of date, refresh the page. For more information on notifications, see Mule Server Notifications.
Notifications
Registers listeners for notifications and associates interfaces with particular events.
Attributes of Notifications
Name | Description |
---|---|
|
If the notification manager is dynamic, listeners can be registered dynamically at runtime via the MuleContext, and the configured notification can be changed. Otherwise, some parts of Mule cache notification configurations for efficiency and do not generate events for newly enabled notifications or listeners. |
Child Elements of Notifications
Name | Cardinality | Description |
---|---|---|
|
0..* |
Associates an event with an interface. Listeners that implement the interface receives instances of the event. |
|
0..* |
Blocks the association of an event with a particular interface. This filters events after the association with a particular interface (and so takes precedence). |
|
0..* |
Registers a bean as a listener with the notification system. Events are dispatched by reflection - the listener receives all events associated with any interfaces it implements. The relationship between interfaces and events is configured by the notification and disable-notification elements. |
Notification
Associates an event with an interface. Listeners that implement the interface will receive instances of the event.
Attributes of Notification
Name | Description |
---|---|
|
The class associated with a notification event to deliver to the interface. This can be used instead of the 'event' attribute to specify a custom class. |
|
The notification event to deliver. |
|
The interface (class name) that receives the notification event. |
|
The interface that receives the notification event. |
No child elements for notification
.
Disable Notification
Blocks the association of an event with a particular interface. This filters events after the association with a particular interface (and so takes precedence).
Attributes of disable-notification
Name | Description |
---|---|
|
The class associated with an event that no longer is delivered to any interface. This can be used instead of the 'event' attribute to specify a custom class. |
|
The event you no longer want to deliver. |
|
The interface (class name) that no longer receives the event. |
|
The interface that no longer receives the event. |
No child elements for disable-notification
.
Notification Listener
Registers a bean as a listener with the notification system. Events are dispatched by reflection - the listener receives all events associated with any interfaces it implements. The relationship between interfaces and events is configured by the notification and disable-notification elements.
Notification Types
You can specify the following types of notifications using the event
attribute of the <notification>
and <disable-notification>
element:
-
ASYNC-MESSAGE
-
COMPONENT-MESSAGE
-
CONNECTION
-
CONTEXT
-
CUSTOM
-
ENDPOINT-MESSAGE
-
EXCEPTION
-
EXCEPTION-STRATEGY
-
MANAGEMENT
-
MESSAGE-PROCESSOR
-
MODEL
-
PIPELINE-MESSAGE
-
REGISTRY
-
ROUTING
-
SECURITY
-
SERVICE
-
TRANSACTION