1 55 56 package org.jboss.axis.transport.jms; 57 58 import javax.jms.DeliveryMode ; 59 import javax.jms.Message ; 60 import javax.jms.Session ; 61 62 76 77 public interface JMSConstants 78 { 79 80 89 final static String WAIT_FOR_RESPONSE = "transport.jms.WaitForResponse"; 90 91 99 final static String CLIENT_ID = "transport.jms.ClientID"; 100 101 final static String DESTINATION = "transport.jms.Destination"; 102 103 final static String CONNECTOR = "transport.jms.Connector"; 104 105 final static String DOMAIN = "transport.jms.Domain"; 106 107 final static String DOMAIN_QUEUE = "QUEUE"; 108 109 final static String DOMAIN_TOPIC = "TOPIC"; 110 111 final static String DOMAIN_DEFAULT = DOMAIN_QUEUE; 112 113 119 final static String JMS_CORRELATION_ID = "transport.jms.JMSCorrelationID"; 120 126 final static String JMS_CORRELATION_ID_AS_BYTES = "transport.jms.JMSCorrelationIDAsBytes"; 127 133 final static String JMS_TYPE = "transport.jms.JMSType"; 134 140 final static String TIME_TO_LIVE = "transport.jms.TimeToLive"; 141 147 final static String PRIORITY = "transport.jms.Priority"; 148 155 final static String DELIVERY_MODE = "transport.jms.DeliveryMode"; 156 157 final static int DEFAULT_DELIVERY_MODE = DeliveryMode.NON_PERSISTENT; 158 final static int DEFAULT_PRIORITY = Message.DEFAULT_PRIORITY; 159 final static long DEFAULT_TIME_TO_LIVE = Message.DEFAULT_TIME_TO_LIVE; 160 161 167 final static String MESSAGE_SELECTOR = "transport.jms.MessageSelector"; 168 176 final static String ACKNOWLEDGE_MODE = "transport.jms.AcknowledgeMode"; 177 178 182 final static int DEFAULT_ACKNOWLEDGE_MODE = Session.DUPS_OK_ACKNOWLEDGE; 183 184 190 final static String SUBSCRIPTION_NAME = "transport.jms.SubscriptionName"; 191 198 final static String UNSUBSCRIBE = "transport.jms.Unsubscribe"; 199 204 final static String NO_LOCAL = "transport.jms.NoLocal"; 205 206 final static boolean DEFAULT_NO_LOCAL = false; 207 final static boolean DEFAULT_UNSUBSCRIBE = false; 208 209 210 215 final static String NUM_RETRIES = "transport.jms.NumRetries"; 216 221 final static String NUM_SESSIONS = "transport.jms.NumSessions"; 222 227 final static String CONNECT_RETRY_INTERVAL = "transport.jms.ConnectRetryInterval"; 228 233 final static String INTERACT_RETRY_INTERVAL = "transport.jms.InteractRetryInterval"; 234 239 final static String TIMEOUT_TIME = "transport.jms.TimeoutTime"; 240 245 final static String MIN_TIMEOUT_TIME = "transport.jms.MinTimeoutTime"; 246 247 final static int DEFAULT_NUM_RETRIES = 5; 248 final static int DEFAULT_NUM_SESSIONS = 5; 249 250 final static long DEFAULT_CONNECT_RETRY_INTERVAL = 2000; 251 final static long DEFAULT_TIMEOUT_TIME = 5000; 252 final static long DEFAULT_MIN_TIMEOUT_TIME = 1000; 253 final static long DEFAULT_INTERACT_RETRY_INTERVAL = 250; 254 255 } | Popular Tags |