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
21
22 public class ManagementNotification extends ServerNotification
23 {
24
25
26
27 private static final long serialVersionUID = -259130553709035786L;
28
29
30 public static final int MANAGEMENT_COMPONENT_QUEUE_EXHAUSTED = MANAGEMENT_EVENT_ACTION_START_RANGE + 1;
31 public static final int MANAGEMENT_NODE_PING = MANAGEMENT_EVENT_ACTION_START_RANGE + 2;
32
33 static {
34 registerAction("service queue exhausted", MANAGEMENT_COMPONENT_QUEUE_EXHAUSTED);
35 registerAction("node ping", MANAGEMENT_NODE_PING);
36 }
37
38 public ManagementNotification(Object message, int action)
39 {
40 super(message, action);
41 }
42 }