1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.providers.jms; |
12 | |
|
13 | |
import java.util.Arrays; |
14 | |
import java.util.Collections; |
15 | |
import java.util.HashSet; |
16 | |
import java.util.Set; |
17 | |
|
18 | |
|
19 | 0 | public class JmsConstants |
20 | |
{ |
21 | |
|
22 | |
public static final String JMS_SPECIFICATION_102B = "1.0.2b"; |
23 | |
public static final String JMS_SPECIFICATION_11 = "1.1"; |
24 | |
|
25 | |
public static final String JMS_CORRELATION_ID = "JMSCorrelationID"; |
26 | |
public static final String JMS_DELIVERY_MODE = "JMSDeliveryMode"; |
27 | |
public static final String JMS_DESTINATION = "JMSDestination"; |
28 | |
public static final String JMS_EXPIRATION = "JMSExpiration"; |
29 | |
public static final String JMS_MESSAGE_ID = "JMSMessageID"; |
30 | |
public static final String JMS_PRIORITY = "JMSPriority"; |
31 | |
public static final String JMS_REDELIVERED = "JMSRedelivered"; |
32 | |
public static final String JMS_REPLY_TO = "JMSReplyTo"; |
33 | |
public static final String JMS_TIMESTAMP = "JMSTimestamp"; |
34 | |
public static final String JMS_TYPE = "JMSType"; |
35 | |
|
36 | |
|
37 | |
public static final String TIME_TO_LIVE_PROPERTY = "timeToLive"; |
38 | |
public static final String PERSISTENT_DELIVERY_PROPERTY = "persistentDelivery"; |
39 | |
public static final String PRIORITY_PROPERTY = "priority"; |
40 | |
public static final String JMS_SELECTOR_PROPERTY = "selector"; |
41 | |
public static final String TOPIC_PROPERTY = "topic"; |
42 | |
public static final String DURABLE_PROPERTY = "durable"; |
43 | |
public static final String DURABLE_NAME_PROPERTY = "durableName"; |
44 | |
public static final String CACHE_JMS_SESSIONS_PROPERTY = "cacheJmsSessions"; |
45 | |
|
46 | 0 | public static final Set JMS_PROPERTY_NAMES = Collections.unmodifiableSet(new HashSet( |
47 | |
Arrays.asList(new String[]{JMS_SPECIFICATION_102B, JMS_SPECIFICATION_11, JMS_CORRELATION_ID, |
48 | |
JMS_DELIVERY_MODE, JMS_DELIVERY_MODE, JMS_DESTINATION, JMS_EXPIRATION, JMS_MESSAGE_ID, |
49 | |
JMS_PRIORITY, JMS_REDELIVERED, JMS_REPLY_TO, JMS_TIMESTAMP, JMS_TYPE, JMS_SELECTOR_PROPERTY}))); |
50 | |
|
51 | |
} |