| java.lang.Object org.apache.axis2.transport.jms.JMSUtils
JMSUtils | public class JMSUtils (Code) | | |
getContentType | public static String getContentType(MessageContext msgCtx)(Code) | | Get the context type from the Axis MessageContext
Parameters: msgCtx - message context the content type |
getDestination | public static String getDestination(AxisService service)(Code) | | Get the JMS destination used by this service
Parameters: service - the Axis Service the name of the JMS destination |
getDestination | public static String getDestination(String url)(Code) | | Return the destination name from the given URL
Parameters: url - the URL the destination name |
getInputStream | public static InputStream getInputStream(Message message)(Code) | | Get an InputStream to the message
Parameters: message - the JMS message an InputStream |
getProperties | public static Hashtable getProperties(String url)(Code) | | Extract connection factory properties from a given URL
Parameters: url - a JMS URL of the form jms:/?[=&]* a Hashtable of extracted properties |
getProperty | public static String getProperty(Message message, String property)(Code) | | Get a String property from the JMS message
Parameters: message - JMS message Parameters: property - property name property value |
getSOAPEnvelope | public static SOAPEnvelope getSOAPEnvelope(Message message, MessageContext msgContext, InputStream in) throws XMLStreamException(Code) | | Return a SOAPEnvelope created from the given JMS Message and Axis
MessageContext, and the InputStream into the message
Parameters: message - the JMS Message Parameters: msgContext - the Axis MessageContext Parameters: in - the InputStream into the message SOAPEnvelope for the message throws: javax.xml.stream.XMLStreamException - |
isJMSService | public static boolean isJMSService(AxisService service)(Code) | | Should this service be enabled on JMS transport?
Parameters: service - the Axis service true if JMS should be enabled |
markServiceAsFaulty | public static void markServiceAsFaulty(String serviceName, String msg, AxisConfiguration axisCfg)(Code) | | Marks the given service as faulty with the given comment
Parameters: serviceName - service name Parameters: msg - comment for being faulty Parameters: axisCfg - configuration context |
|
|