org.apache.cxf.transport.jms
Class JMSConfiguration

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

public class JMSConfiguration
extends Object


Field Summary
static int DEFAULT_VALUE
          The use of -1 is to make easier to determine if the setCacheLevel has been called.
 
Constructor Summary
JMSConfiguration()
           
 
Method Summary
 void afterPropertiesSet()
           
 void ensureProperlyConfigured()
           
 int getCacheLevel()
           
 String getCacheLevelName()
           
 int getConcurrentConsumers()
           
 String getConduitSelectorPrefix()
           
 javax.jms.ConnectionFactory getConnectionFactory()
           
 int getDeliveryMode()
           
 DestinationResolver getDestinationResolver()
           
 String getDurableSubscriptionClientId()
           
 String getDurableSubscriptionName()
           
 JNDIConfiguration getJndiConfig()
           
 JndiHelper getJndiTemplate()
           
 int getMaxConcurrentConsumers()
           
 int getMaxSuspendedContinuations()
           
 String getMessageSelector()
           
 String getMessageType()
           
 int getPriority()
           
 Long getReceiveTimeout()
           
 int getReconnectPercentOfMax()
           
 long getRecoveryInterval()
           
 String getReplyDestination()
           
 javax.jms.Destination getReplyDestination(javax.jms.Session session)
           
 javax.jms.Destination getReplyDestination(javax.jms.Session session, String replyToName)
           
 String getReplyToDestination()
           
 javax.jms.Destination getReplyToDestination(javax.jms.Session session, String userDestination)
           
 String getRequestURI()
           
 Long getServerReceiveTimeout()
           
 String getTargetDestination()
           
 javax.jms.Destination getTargetDestination(javax.jms.Session session)
           
 String getTargetService()
           
 Executor getTaskExecutor()
           
 long getTimeToLive()
           
 boolean isAcceptMessagesWhileStopping()
           
 boolean isEnforceSpec()
           
 boolean isExplicitQosEnabled()
           
 boolean isJmsProviderTibcoEms()
           
 boolean isMessageIdEnabled()
           
 boolean isMessageTimestampEnabled()
           
 boolean isPubSubDomain()
           
 boolean isPubSubNoLocal()
           
 boolean isReconnectOnException()
           
 boolean isReplyPubSubDomain()
           
 boolean isSessionTransacted()
           
 boolean isSetConduitSelectorPrefix()
           
 boolean isSetEnforceSpec()
           
 boolean isSetUseConduitIdSelector()
           
 boolean isSubscriptionDurable()
           
 boolean isUseConduitIdSelector()
           
 boolean isUsingEndpointInfo()
           
static javax.jms.Destination resolveOrCreateDestination(javax.jms.Session session, DestinationResolver resolver, String replyToDestinationName, boolean pubSubDomain)
           
 void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
           
 void setCacheLevel(int cacheLevel)
           
 void setCacheLevelName(String cacheLevelName)
           
 void setConcurrentConsumers(int concurrentConsumers)
           
 void setConduitSelectorPrefix(String conduitSelectorPrefix)
           
 void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
           
 void setDeliveryMode(int deliveryMode)
           
 void setDestinationResolver(DestinationResolver destinationResolver)
           
 void setDurableSubscriptionClientId(String durableSubscriptionClientId)
           
 void setDurableSubscriptionName(String durableSubscriptionName)
           
 void setEnforceSpec(boolean enforceSpec)
           
 void setExplicitQosEnabled(boolean explicitQosEnabled)
           
 void setJmsProviderTibcoEms(boolean jmsProviderTibcoEms)
           
 void setJndiConfig(JNDIConfiguration jndiConfig)
           
 void setJndiTemplate(JndiHelper jndiTemplate)
           
 void setMaxConcurrentConsumers(int maxConcurrentConsumers)
           
 void setMaxSuspendedContinuations(int maxSuspendedContinuations)
           
 void setMessageIdEnabled(boolean messageIdEnabled)
           
 void setMessageSelector(String messageSelector)
           
 void setMessageTimestampEnabled(boolean messageTimestampEnabled)
           
 void setMessageType(String messageType)
           
 void setPriority(int priority)
           
 void setPubSubDomain(boolean pubSubDomain)
           
 void setPubSubNoLocal(boolean pubSubNoLocal)
           
 void setReceiveTimeout(Long receiveTimeout)
           
 void setReconnectOnException(boolean reconnectOnException)
           
 void setReconnectPercentOfMax(int reconnectPercentOfMax)
           
 void setRecoveryInterval(long recoveryInterval)
           
 void setReplyDestination(String replyDestination)
           
 void setReplyPubSubDomain(boolean replyPubSubDomain)
           
 void setReplyToDestination(String replyToDestination)
           
 void setRequestURI(String requestURI)
           
 void setServerReceiveTimeout(Long receiveTimeout)
           
 void setSessionTransacted(boolean sessionTransacted)
           
 void setSubscriptionDurable(boolean subscriptionDurable)
           
 void setTargetDestination(String targetDestination)
           
 void setTargetService(String targetService)
           
 void setTaskExecutor(Executor taskExecutor)
           
 void setTimeToLive(long timeToLive)
           
 void setTransactionManager(Object transactionManager)
          Deprecated. 
 void setUseConduitIdSelector(boolean useConduitIdSelector)
           
 void setUsingEndpointInfo(boolean usingEndpointInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VALUE

public static final int DEFAULT_VALUE
The use of -1 is to make easier to determine if the setCacheLevel has been called.

See Also:
Constant Field Values
Constructor Detail

JMSConfiguration

public JMSConfiguration()
Method Detail

ensureProperlyConfigured

public void ensureProperlyConfigured()

getCacheLevelName

public String getCacheLevelName()

setCacheLevelName

public void setCacheLevelName(String cacheLevelName)

getCacheLevel

public int getCacheLevel()

setCacheLevel

public void setCacheLevel(int cacheLevel)

getRecoveryInterval

public long getRecoveryInterval()

setRecoveryInterval

public void setRecoveryInterval(long recoveryInterval)

isUsingEndpointInfo

public boolean isUsingEndpointInfo()

setUsingEndpointInfo

public void setUsingEndpointInfo(boolean usingEndpointInfo)

isMessageIdEnabled

public boolean isMessageIdEnabled()

setMessageIdEnabled

public void setMessageIdEnabled(boolean messageIdEnabled)

isMessageTimestampEnabled

public boolean isMessageTimestampEnabled()

setMessageTimestampEnabled

public void setMessageTimestampEnabled(boolean messageTimestampEnabled)

isPubSubNoLocal

public boolean isPubSubNoLocal()

setPubSubNoLocal

public void setPubSubNoLocal(boolean pubSubNoLocal)

getReceiveTimeout

public Long getReceiveTimeout()

setReceiveTimeout

public void setReceiveTimeout(Long receiveTimeout)

getServerReceiveTimeout

public Long getServerReceiveTimeout()

setServerReceiveTimeout

public void setServerReceiveTimeout(Long receiveTimeout)

isExplicitQosEnabled

public boolean isExplicitQosEnabled()

setExplicitQosEnabled

public void setExplicitQosEnabled(boolean explicitQosEnabled)

getDeliveryMode

public int getDeliveryMode()

setDeliveryMode

public void setDeliveryMode(int deliveryMode)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

getTimeToLive

public long getTimeToLive()

setTimeToLive

public void setTimeToLive(long timeToLive)

getMessageSelector

public String getMessageSelector()

setMessageSelector

public void setMessageSelector(String messageSelector)

setConduitSelectorPrefix

public void setConduitSelectorPrefix(String conduitSelectorPrefix)

getConduitSelectorPrefix

public String getConduitSelectorPrefix()

isSetConduitSelectorPrefix

public boolean isSetConduitSelectorPrefix()

isSubscriptionDurable

public boolean isSubscriptionDurable()

setSubscriptionDurable

public void setSubscriptionDurable(boolean subscriptionDurable)

getDurableSubscriptionName

public String getDurableSubscriptionName()

setDurableSubscriptionName

public void setDurableSubscriptionName(String durableSubscriptionName)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

setConnectionFactory

public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)

getTargetDestination

public String getTargetDestination()

setTargetDestination

public void setTargetDestination(String targetDestination)

getReplyDestination

public String getReplyDestination()

setReplyDestination

public void setReplyDestination(String replyDestination)

getReplyToDestination

public String getReplyToDestination()

setReplyToDestination

public void setReplyToDestination(String replyToDestination)

getMessageType

public String getMessageType()

setMessageType

public void setMessageType(String messageType)

isPubSubDomain

public boolean isPubSubDomain()

setPubSubDomain

public void setPubSubDomain(boolean pubSubDomain)

isReplyPubSubDomain

public boolean isReplyPubSubDomain()

setReplyPubSubDomain

public void setReplyPubSubDomain(boolean replyPubSubDomain)

getDestinationResolver

public DestinationResolver getDestinationResolver()

setDestinationResolver

public void setDestinationResolver(DestinationResolver destinationResolver)

isSessionTransacted

public boolean isSessionTransacted()

setSessionTransacted

public void setSessionTransacted(boolean sessionTransacted)

setTransactionManager

@Deprecated
public void setTransactionManager(Object transactionManager)
Deprecated. 


getConcurrentConsumers

public int getConcurrentConsumers()

setConcurrentConsumers

public void setConcurrentConsumers(int concurrentConsumers)

getMaxConcurrentConsumers

public int getMaxConcurrentConsumers()

setMaxConcurrentConsumers

public void setMaxConcurrentConsumers(int maxConcurrentConsumers)

getMaxSuspendedContinuations

public int getMaxSuspendedContinuations()

setMaxSuspendedContinuations

public void setMaxSuspendedContinuations(int maxSuspendedContinuations)

getReconnectPercentOfMax

public int getReconnectPercentOfMax()

setReconnectPercentOfMax

public void setReconnectPercentOfMax(int reconnectPercentOfMax)

getTaskExecutor

public Executor getTaskExecutor()

setTaskExecutor

public void setTaskExecutor(Executor taskExecutor)

setUseConduitIdSelector

public void setUseConduitIdSelector(boolean useConduitIdSelector)

isUseConduitIdSelector

public boolean isUseConduitIdSelector()

isSetUseConduitIdSelector

public boolean isSetUseConduitIdSelector()

setJndiTemplate

public void setJndiTemplate(JndiHelper jndiTemplate)

getJndiTemplate

public JndiHelper getJndiTemplate()

getJndiConfig

public JNDIConfiguration getJndiConfig()

setJndiConfig

public void setJndiConfig(JNDIConfiguration jndiConfig)

isReconnectOnException

public boolean isReconnectOnException()

setReconnectOnException

public void setReconnectOnException(boolean reconnectOnException)

isAcceptMessagesWhileStopping

public boolean isAcceptMessagesWhileStopping()

setAcceptMessagesWhileStopping

public void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory()

getDurableSubscriptionClientId

public String getDurableSubscriptionClientId()

setDurableSubscriptionClientId

public void setDurableSubscriptionClientId(String durableSubscriptionClientId)

setTargetService

public void setTargetService(String targetService)

getTargetService

public String getTargetService()

setRequestURI

public void setRequestURI(String requestURI)

getRequestURI

public String getRequestURI()

isEnforceSpec

public boolean isEnforceSpec()

setEnforceSpec

public void setEnforceSpec(boolean enforceSpec)

isSetEnforceSpec

public boolean isSetEnforceSpec()

isJmsProviderTibcoEms

public boolean isJmsProviderTibcoEms()
Returns:
Returns the jmsProviderTibcoEms.

setJmsProviderTibcoEms

public void setJmsProviderTibcoEms(boolean jmsProviderTibcoEms)
Parameters:
jmsProviderTibcoEms - The jmsProviderTibcoEms to set.

resolveOrCreateDestination

public static javax.jms.Destination resolveOrCreateDestination(javax.jms.Session session,
                                                               DestinationResolver resolver,
                                                               String replyToDestinationName,
                                                               boolean pubSubDomain)
                                                        throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getReplyToDestination

public javax.jms.Destination getReplyToDestination(javax.jms.Session session,
                                                   String userDestination)
                                            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getReplyDestination

public javax.jms.Destination getReplyDestination(javax.jms.Session session)
                                          throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getTargetDestination

public javax.jms.Destination getTargetDestination(javax.jms.Session session)
                                           throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getReplyDestination

public javax.jms.Destination getReplyDestination(javax.jms.Session session,
                                                 String replyToName)
                                          throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Apache CXF