org.apache.cxf.transport.jms
Class JMSConfiguration
java.lang.Object
org.apache.cxf.transport.jms.JMSConfiguration
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class JMSConfiguration
- extends Object
- implements org.springframework.beans.factory.InitializingBean
Field Summary |
static int |
DEFAULT_VALUE
The use of -1 is to make easier to determine
if the setCacheLevel has been called. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JMSConfiguration
public JMSConfiguration()
ensureProperlyConfigured
public void ensureProperlyConfigured(Message msg)
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)
isAutoResolveDestination
public boolean isAutoResolveDestination()
setAutoResolveDestination
public void setAutoResolveDestination(boolean autoResolveDestination)
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)
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
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- 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)
isUseJms11
public boolean isUseJms11()
setUseJms11
public void setUseJms11(boolean useJms11)
getDestinationResolver
public org.springframework.jms.support.destination.DestinationResolver getDestinationResolver()
setDestinationResolver
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
isSessionTransacted
public boolean isSessionTransacted()
setSessionTransacted
public void setSessionTransacted(boolean sessionTransacted)
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
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 org.springframework.core.task.TaskExecutor getTaskExecutor()
setTaskExecutor
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
setUseConduitIdSelector
public void setUseConduitIdSelector(boolean useConduitIdSelector)
isUseConduitIdSelector
public boolean isUseConduitIdSelector()
isSetUseConduitIdSelector
public boolean isSetUseConduitIdSelector()
setJndiTemplate
public void setJndiTemplate(org.springframework.jndi.JndiTemplate jndiTemplate)
getJndiTemplate
public org.springframework.jndi.JndiTemplate 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)
getOrCreateWrappedConnectionFactory
public javax.jms.ConnectionFactory getOrCreateWrappedConnectionFactory()
- Tries to creates a ConnectionFactory from jndi if none was set as a property
by using the jndConfig. Then it determines if the connectionFactory should be wrapped
into a SingleConnectionFactory and wraps it if necessary. After the first call the
same connectionFactory will be returned for all subsequent calls
- Returns:
- usable connectionFactory
getWrappedConnectionFactory
public javax.jms.ConnectionFactory getWrappedConnectionFactory()
destroyWrappedConnectionFactory
public void destroyWrappedConnectionFactory()
getConnectionFactory
protected javax.jms.ConnectionFactory getConnectionFactory()
- Only for tests
- Returns:
isWrapInSingleConnectionFactory
public boolean isWrapInSingleConnectionFactory()
setWrapInSingleConnectionFactory
public void setWrapInSingleConnectionFactory(boolean wrapInSingleConnectionFactory)
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()
setJmsTemplate
public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
getJmsTemplate
public org.springframework.jms.core.JmsTemplate getJmsTemplate()
getMessageListenerContainer
public org.springframework.jms.listener.AbstractMessageListenerContainer getMessageListenerContainer()
setMessageListenerContainer
public void setMessageListenerContainer(org.springframework.jms.listener.AbstractMessageListenerContainer messageListenerContainer)
isJmsProviderTibcoEms
public boolean isJmsProviderTibcoEms()
- Returns:
- Returns the jmsProviderTibcoEms.
setJmsProviderTibcoEms
public void setJmsProviderTibcoEms(boolean jmsProviderTibcoEms)
- Parameters:
jmsProviderTibcoEms
- The jmsProviderTibcoEms to set.
Apache CXF