Apache CXF API

org.apache.cxf.transport.jms.uri
Class JMSEndpoint

java.lang.Object
  extended by org.apache.cxf.transport.jms.uri.JMSEndpoint

public class JMSEndpoint
extends Object

Parses and holds configuration retrieved from a SOAP/JMS spec URI


Nested Class Summary
static class JMSEndpoint.DeliveryModeType
           
static class JMSEndpoint.MessageType
           
 
Field Summary
static JMSEndpoint.DeliveryModeType DELIVERYMODE_DEFAULT
           
static String JNDI
           
static String JNDI_PARAMETER_NAME_PREFIX
          All parameters with this prefix will go to jndiParameters and be used as the jndi inital context properties
static String JNDI_TOPIC
           
static int PRIORITY_DEFAULT
           
static String QUEUE
           
static long TIMETOLIVE_DEFAULT
           
static String TOPIC
           
 
Constructor Summary
JMSEndpoint(EndpointInfo endpointInfo, EndpointReferenceType target)
          Get the extensors from the wsdl and/or configuration that will then be used to configure the JMSConfiguration object
JMSEndpoint(EndpointInfo ei, String endpointUri)
           
JMSEndpoint(String endpointUri)
           
 
Method Summary
 String getConduitIdSelectorPrefix()
           
 javax.jms.ConnectionFactory getConnectionFactory()
           
 JMSEndpoint.DeliveryModeType getDeliveryMode()
           
 String getDestinationName()
           
 String getDurableSubscriptionName()
           
 String getEndpointUri()
           
 String getJmsVariant()
           
 String getJndiConnectionFactoryName()
           
 String getJndiInitialContextFactory()
           
 Map<String,String> getJndiParameters()
           
 String getJndiTransactionManagerName()
           
 String getJndiURL()
           
 JMSEndpoint.MessageType getMessageType()
           
 String getParameter(String key)
           
 Map<String,String> getParameters()
           
 String getPassword()
           
 int getPriority()
           
 long getReceiveTimeout()
           
 String getReplyToName()
           
 String getRequestURI()
           
 String getTargetService()
           
 long getTimeToLive()
           
 String getTopicReplyToName()
           
 String getUsername()
           
 boolean isSessionTransacted()
           
 boolean isSetDeliveryMode()
           
 boolean isSetPriority()
           
 boolean isUseConduitIdSelector()
           
 void putJndiParameter(String key, String value)
           
 void putParameter(String key, String value)
           
 void setConduitIdSelectorPrefix(String conduitIdSelectorPrefix)
           
 void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
           
 void setDeliveryMode(JMSEndpoint.DeliveryModeType deliveryMode)
           
 void setDeliveryMode(String deliveryMode)
           
 void setDestinationName(String destinationName)
           
 void setDurableSubscriptionName(String durableSubscriptionName)
           
 void setEndpointUri(String endpointUri)
           
 void setJmsVariant(String jmsVariant)
           
 void setJndiConnectionFactoryName(String jndiConnectionFactoryName)
           
 void setJndiInitialContextFactory(String jndiInitialContextFactory)
           
 void setJndiTransactionManagerName(String jndiTransactionManagerName)
           
 void setJndiURL(String jndiURL)
           
 void setMessageType(JMSEndpoint.MessageType messageType)
           
 void setMessageType(String messageType)
           
 void setPassword(String password)
           
 void setPriority(int priority)
           
 void setPriority(String priority)
           
 void setReceiveTimeout(long receiveTimeout)
           
 void setReceiveTimeout(String receiveTimeout)
           
 void setReplyToName(String replyToName)
           
 void setSessionTransacted(boolean sessionTransacted)
           
 void setSessionTransacted(String sessionTransacted)
           
 void setTargetService(String targetService)
           
 void setTimeToLive(long timeToLive)
           
 void setTimeToLive(String timeToLive)
           
 void setTopicReplyToName(String topicReplyToName)
           
 void setUseConduitIdSelector(boolean useConduitIdSelector)
           
 void setUseConduitIdSelector(String useConduitIdSelectorSt)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI

public static final String JNDI
See Also:
Constant Field Values

TOPIC

public static final String TOPIC
See Also:
Constant Field Values

QUEUE

public static final String QUEUE
See Also:
Constant Field Values

JNDI_TOPIC

public static final String JNDI_TOPIC
See Also:
Constant Field Values

DELIVERYMODE_DEFAULT

public static final JMSEndpoint.DeliveryModeType DELIVERYMODE_DEFAULT

TIMETOLIVE_DEFAULT

public static final long TIMETOLIVE_DEFAULT
See Also:
Constant Field Values

PRIORITY_DEFAULT

public static final int PRIORITY_DEFAULT
See Also:
Constant Field Values

JNDI_PARAMETER_NAME_PREFIX

public static final String JNDI_PARAMETER_NAME_PREFIX
All parameters with this prefix will go to jndiParameters and be used as the jndi inital context properties

See Also:
Constant Field Values
Constructor Detail

JMSEndpoint

public JMSEndpoint(String endpointUri)
Parameters:
uri -
subject -

JMSEndpoint

public JMSEndpoint(EndpointInfo endpointInfo,
                   EndpointReferenceType target)
Get the extensors from the wsdl and/or configuration that will then be used to configure the JMSConfiguration object

Parameters:
target -

JMSEndpoint

public JMSEndpoint(EndpointInfo ei,
                   String endpointUri)
Parameters:
uri -
subject -
Method Detail

getRequestURI

public String getRequestURI()

putJndiParameter

public void putJndiParameter(String key,
                             String value)
Parameters:
key -
value -

putParameter

public void putParameter(String key,
                         String value)

getParameter

public String getParameter(String key)
Parameters:
targetserviceParameterName -
Returns:

getJndiParameters

public Map<String,String> getJndiParameters()

getParameters

public Map<String,String> getParameters()
Returns:

getEndpointUri

public String getEndpointUri()

setEndpointUri

public void setEndpointUri(String endpointUri)

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory()

setConnectionFactory

public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)

getJmsVariant

public String getJmsVariant()

setJmsVariant

public void setJmsVariant(String jmsVariant)

getDestinationName

public String getDestinationName()

setDestinationName

public void setDestinationName(String destinationName)

isSetDeliveryMode

public boolean isSetDeliveryMode()

getDeliveryMode

public JMSEndpoint.DeliveryModeType getDeliveryMode()

setDeliveryMode

public void setDeliveryMode(JMSEndpoint.DeliveryModeType deliveryMode)

setDeliveryMode

public void setDeliveryMode(String deliveryMode)

getMessageType

public JMSEndpoint.MessageType getMessageType()

setMessageType

public void setMessageType(JMSEndpoint.MessageType messageType)

setMessageType

public void setMessageType(String messageType)

getTimeToLive

public long getTimeToLive()

setTimeToLive

public void setTimeToLive(long timeToLive)

setTimeToLive

public void setTimeToLive(String timeToLive)

isSetPriority

public boolean isSetPriority()

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

setPriority

public void setPriority(String priority)

getReplyToName

public String getReplyToName()

setReplyToName

public void setReplyToName(String replyToName)

getTopicReplyToName

public String getTopicReplyToName()

setTopicReplyToName

public void setTopicReplyToName(String topicReplyToName)

getJndiConnectionFactoryName

public String getJndiConnectionFactoryName()

setJndiConnectionFactoryName

public void setJndiConnectionFactoryName(String jndiConnectionFactoryName)

getJndiInitialContextFactory

public String getJndiInitialContextFactory()

setJndiInitialContextFactory

public void setJndiInitialContextFactory(String jndiInitialContextFactory)

getJndiURL

public String getJndiURL()

setJndiURL

public void setJndiURL(String jndiURL)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getDurableSubscriptionName

public String getDurableSubscriptionName()

setDurableSubscriptionName

public void setDurableSubscriptionName(String durableSubscriptionName)

getReceiveTimeout

public long getReceiveTimeout()

setReceiveTimeout

public void setReceiveTimeout(long receiveTimeout)

setReceiveTimeout

public void setReceiveTimeout(String receiveTimeout)

getTargetService

public String getTargetService()

setTargetService

public void setTargetService(String targetService)

isSessionTransacted

public boolean isSessionTransacted()

setSessionTransacted

public void setSessionTransacted(boolean sessionTransacted)

setSessionTransacted

public void setSessionTransacted(String sessionTransacted)

getConduitIdSelectorPrefix

public String getConduitIdSelectorPrefix()

setConduitIdSelectorPrefix

public void setConduitIdSelectorPrefix(String conduitIdSelectorPrefix)

isUseConduitIdSelector

public boolean isUseConduitIdSelector()

setUseConduitIdSelector

public void setUseConduitIdSelector(String useConduitIdSelectorSt)

setUseConduitIdSelector

public void setUseConduitIdSelector(boolean useConduitIdSelector)

getJndiTransactionManagerName

public String getJndiTransactionManagerName()

setJndiTransactionManagerName

public void setJndiTransactionManagerName(String jndiTransactionManagerName)

Apache CXF API

Apache CXF