1 57 58 package org.apache.wsif.wsdl.extensions.jms; 59 60 import javax.xml.namespace.QName ; 61 62 import com.ibm.wsdl.Constants; 63 64 71 public class JMSConstants { 72 73 public static final String NS_URI_JMS = "http://schemas.xmlsoap.org/wsdl/jms/"; 75 76 public static final String ELEM_ADDRESS = "address"; 78 public static final String ELEM_PROPERTY = "property"; 79 public static final String ELEM_PROPERTY_VALUE = "propertyValue"; 80 public static final String ELEM_INPUT = "input"; 81 public static final String ELEM_OUTPUT = "output"; 82 public static final String ELEM_FAULT = "fault"; 83 public static final String ELEM_FAULT_INDICATOR = "faultIndicator"; 84 public static final String ELEM_FAULT_PROPERTY = "faultProperty"; 85 public static final String ATTR_MESSAGE_TYPE = "type"; 86 87 public static final String ELEM_JMS_JMS_VENDOR_URI = "jmsVendorURI"; 89 public static final String ELEM_JMS_INIT_CXT_FACT = "initialContextFactory"; 90 public static final String ELEM_JMS_JNDI_PROV_URL = "jndiProviderURL"; 91 public static final String ELEM_JMS_DEST_STYLE = "destinationStyle"; 92 public static final String ELEM_JMS_JNDI_CONN_FACT_NAME = 93 "jndiConnectionFactoryName"; 94 95 public static final String ELEM_JMS_JNDI_DEST_NAME = "jndiDestinationName"; 96 public static final String ELEM_JMS_JMS_PROV_DEST_NAME = 97 "jmsProviderDestinationName"; 98 99 public static final String ELEM_JMS_JMS_IMPL_SPEC_URI = 100 "jmsImplementationSpecificURI"; 101 102 public static final String ELEM_JMS_QUEUE = "queue"; 103 public static final String ELEM_JMS_TOPIC = "topic"; 104 105 public static final String ATTR_PART = "part"; 107 public static final String ATTR_NAME = "name"; 108 public static final String ATTR_TYPE = "type"; 109 public static final String ATTR_VALUE = "value"; 110 111 public static final int HEADER_TYPE_JMSMESSAGEID = 0; 113 public static final int HEADER_TYPE_JMSTIMESTAMP = 10; 114 public static final int HEADER_TYPE_JMSCORRELATIONID = 20; 115 public static final int HEADER_TYPE_JMSREPLYTO = 30; 116 public static final int HEADER_TYPE_JMSDESTINATION = 40; 117 public static final int HEADER_TYPE_JMSDELIVERYMODE = 50; 118 public static final int HEADER_TYPE_JMSREDELIVERED = 60; 119 public static final int HEADER_TYPE_JMSTYPE = 70; 120 public static final int HEADER_TYPE_JMSEXPIRATION = 80; 121 public static final int HEADER_TYPE_JMSPRIORITY = 90; 122 123 public static final String ATTR_PARTS = "parts"; 125 public static final String ATTR_SCHEMA = "schema"; 126 127 public static final QName Q_ELEM_JMS_ADDRESS = 129 new QName (NS_URI_JMS, ELEM_ADDRESS); 130 131 public static final QName Q_ELEM_JMS_BINDING = 132 new QName (NS_URI_JMS, Constants.ELEM_BINDING); 133 134 public static final QName Q_ELEM_JMS_PROPERTY = 135 new QName (NS_URI_JMS, ELEM_PROPERTY); 136 137 public static final QName Q_ELEM_JMS_PROPERTY_VALUE = 138 new QName (NS_URI_JMS, ELEM_PROPERTY_VALUE); 139 140 public static final QName Q_ELEM_JMS_OPERATION = 141 new QName (NS_URI_JMS, Constants.ELEM_OPERATION); 142 143 public static final QName Q_ELEM_JMS_INPUT = 144 new QName (NS_URI_JMS, ELEM_INPUT); 145 146 public static final QName Q_ELEM_JMS_OUTPUT = 147 new QName (NS_URI_JMS, ELEM_OUTPUT); 148 149 public static final QName Q_ELEM_JMS_FAULT = 150 new QName (NS_URI_JMS, ELEM_FAULT); 151 152 public static final QName Q_ELEM_JMS_FAULT_INDICATOR = 153 new QName (NS_URI_JMS, ELEM_FAULT_INDICATOR); 154 155 public static final QName Q_ELEM_JMS_FAULT_PROPERTY = 156 new QName (NS_URI_JMS, ELEM_FAULT_PROPERTY); 157 158 public static final int MESSAGE_TYPE_NOTSET = 0; 160 public static final int MESSAGE_TYPE_BYTEMESSAGE = 10; 161 public static final int MESSAGE_TYPE_MAPMESSAGE = 20; 162 public static final int MESSAGE_TYPE_OBJECTMESSAGE = 30; 163 public static final int MESSAGE_TYPE_STREAMMESSAGE = 40; 164 public static final int MESSAGE_TYPE_TEXTMESSAGE = 50; 165 } | Popular Tags |