Coverage Report - org.mule.transport.jms.JmsConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
JmsConstants
0%
0/2
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.jms;
 8  
 
 9  
 import java.util.Arrays;
 10  
 import java.util.Collections;
 11  
 import java.util.HashSet;
 12  
 import java.util.Set;
 13  
 
 14  
 // @ThreadSafe
 15  0
 public class JmsConstants
 16  
 {
 17  
 
 18  
     public static final String JMS_SPECIFICATION_102B = "1.0.2b";
 19  
     public static final String JMS_SPECIFICATION_11 = "1.1";
 20  
 
 21  
     public static final String JMS_CORRELATION_ID = "JMSCorrelationID";
 22  
     public static final String JMS_DELIVERY_MODE = "JMSDeliveryMode";
 23  
     public static final String JMS_DESTINATION = "JMSDestination";
 24  
     public static final String JMS_EXPIRATION = "JMSExpiration";
 25  
     public static final String JMS_MESSAGE_ID = "JMSMessageID";
 26  
     public static final String JMS_PRIORITY = "JMSPriority";
 27  
     public static final String JMS_REDELIVERED = "JMSRedelivered";
 28  
     public static final String JMS_REPLY_TO = "JMSReplyTo";
 29  
     public static final String JMS_TIMESTAMP = "JMSTimestamp";
 30  
     public static final String JMS_TYPE = "JMSType";
 31  
 
 32  
     // extended properties
 33  
     public static final String JMS_X_DELIVERY_COUNT = "JMSXDeliveryCount";
 34  
 
 35  
     // QoS properties
 36  
     public static final String TIME_TO_LIVE_PROPERTY = "timeToLive";
 37  
     public static final String PERSISTENT_DELIVERY_PROPERTY = "persistentDelivery";
 38  
     public static final String PRIORITY_PROPERTY = "priority";
 39  
     public static final String JMS_SELECTOR_PROPERTY = "selector";
 40  
     public static final String TOPIC_PROPERTY = "topic";
 41  
     public static final String DURABLE_PROPERTY = "durable";
 42  
     public static final String DURABLE_NAME_PROPERTY = "durableName";
 43  
     public static final String CACHE_JMS_SESSIONS_PROPERTY = "cacheJmsSessions";
 44  
     public static final String DISABLE_TEMP_DESTINATIONS_PROPERTY = "disableTemporaryReplyToDestinations";
 45  
     public static final String RETURN_ORIGINAL_MESSAGE_PROPERTY = "returnOriginalMessageAsReply";
 46  
 
 47  0
     public static final Set JMS_PROPERTY_NAMES = Collections.unmodifiableSet(new HashSet(
 48  
         Arrays.asList(new String[]{JMS_SPECIFICATION_102B, JMS_SPECIFICATION_11, JMS_CORRELATION_ID,
 49  
             JMS_DELIVERY_MODE, JMS_DELIVERY_MODE, JMS_DESTINATION, JMS_EXPIRATION, JMS_MESSAGE_ID,
 50  
             JMS_PRIORITY, JMS_REDELIVERED, JMS_REPLY_TO, JMS_TIMESTAMP, JMS_TYPE, JMS_SELECTOR_PROPERTY})));
 51  
 
 52  
 }