1
2
3
4
5
6
7
8
9
10
11 package org.mule.context.notification;
12
13 import org.mule.api.context.notification.ServerNotification;
14
15
16
17
18
19
20 public class ManagementNotification extends ServerNotification
21 {
22
23
24
25 private static final long serialVersionUID = -259130553709035786L;
26
27
28 public static final int MANAGEMENT_COMPONENT_QUEUE_EXHAUSTED = MANAGEMENT_EVENT_ACTION_START_RANGE + 1;
29 public static final int MANAGEMENT_NODE_PING = MANAGEMENT_EVENT_ACTION_START_RANGE + 2;
30
31 static {
32 registerAction("service queue exhausted", MANAGEMENT_COMPONENT_QUEUE_EXHAUSTED);
33 registerAction("node ping", MANAGEMENT_NODE_PING);
34 }
35
36 public ManagementNotification(Object message, int action)
37 {
38 super(message, action);
39 }
40 }