Coverage Report - org.mule.transport.jms.JmsConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
JmsConstants
50%
1/2
N/A
0
 
 1  
 /*
 2  
  * $Id: JmsConstants.java 10489 2008-01-23 17:53:38Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.transport.jms;
 12  
 
 13  
 import java.util.Arrays;
 14  
 import java.util.Collections;
 15  
 import java.util.HashSet;
 16  
 import java.util.Set;
 17  
 
 18  
 // @ThreadSafe
 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  
     // QoS properties
 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  38
     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  
 }