org.apache.cxf.transport.jms
Class JMSUtils

java.lang.Object
  extended by org.apache.cxf.transport.jms.JMSUtils

public final class JMSUtils
extends java.lang.Object


Method Summary
static java.lang.String getCorrelationId(JMSMessageHeadersType headers)
           
static javax.naming.Context getInitialContext(AddressType addrType)
           
static int getJMSDeliveryMode(JMSMessageHeadersType headers)
           
static int getJMSPriority(JMSMessageHeadersType headers)
           
static long getTimeToLive(JMSMessageHeadersType headers)
           
protected static void populateContextEnvironment(AddressType addrType, java.util.Properties env)
           
static void setMessageProperties(JMSMessageHeadersType headers, javax.jms.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInitialContext

public static javax.naming.Context getInitialContext(AddressType addrType)
                                              throws javax.naming.NamingException
Throws:
javax.naming.NamingException

populateContextEnvironment

protected static void populateContextEnvironment(AddressType addrType,
                                                 java.util.Properties env)

getJMSDeliveryMode

public static int getJMSDeliveryMode(JMSMessageHeadersType headers)

getJMSPriority

public static int getJMSPriority(JMSMessageHeadersType headers)

getTimeToLive

public static long getTimeToLive(JMSMessageHeadersType headers)

getCorrelationId

public static java.lang.String getCorrelationId(JMSMessageHeadersType headers)

setMessageProperties

public static void setMessageProperties(JMSMessageHeadersType headers,
                                        javax.jms.Message message)
                                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Apache CXF