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