Package org.apache.camel.component.jms
Class JmsEndpoint
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultEndpoint
-
- org.apache.camel.component.jms.JmsEndpoint
-
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.AsyncEndpoint,org.apache.camel.CamelContextAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.MultipleConsumersSupport,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasId,org.apache.camel.spi.HeaderFilterStrategyAware,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
- Direct Known Subclasses:
JmsQueueEndpoint,JmsTemporaryTopicEndpoint
@ManagedResource(description="Managed JMS Endpoint") @UriEndpoint(firstVersion="1.0.0", scheme="jms", title="JMS", syntax="jms:destinationType:destinationName", category=MESSAGING, headersClass=JmsConstants.class) @Metadata(excludeProperties="bridgeErrorHandler") public class JmsEndpoint extends org.apache.camel.support.DefaultEndpoint implements org.apache.camel.AsyncEndpoint, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.MultipleConsumersSupport, org.apache.camel.ServiceSent and receive messages to/from a JMS Queue or Topic. This component uses Spring JMS and supports JMS 1.1 and 2.0 API.
-
-
Constructor Summary
Constructors Constructor Description JmsEndpoint()JmsEndpoint(String endpointUri, String destinationName)Creates a pub-sub endpoint with the given destinationJmsEndpoint(String endpointUri, String destinationName, boolean pubSubDomain)JmsEndpoint(String endpointUri, JmsBinding binding, JmsConfiguration configuration, String destinationName, boolean pubSubDomain)JmsEndpoint(String uri, JmsComponent component, String destinationName, boolean pubSubDomain, JmsConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureListenerContainer(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer, JmsConsumer consumer)protected JmsBindingcreateBinding()Creates theJmsBindingto use.JmsConsumercreateConsumer(org.apache.camel.Processor processor)JmsConsumercreateConsumer(org.apache.camel.Processor processor, org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)Creates a consumer using the given processor and listener containerprotected StringcreateEndpointUri()org.apache.camel.ExchangecreateExchange(javax.jms.Message message, javax.jms.Session session)org.apache.camel.ExchangecreateExchange(org.apache.camel.ExchangePattern pattern)org.springframework.jms.core.JmsOperationscreateInOnlyTemplate()Factory method for creating a new template for InOnly message exchangesorg.springframework.jms.core.JmsOperationscreateInOutTemplate()Factory method for creating a new template for InOut message exchangesorg.springframework.jms.listener.AbstractMessageListenerContainercreateMessageListenerContainer()org.apache.camel.PollingConsumercreatePollingConsumer()org.apache.camel.ProducercreateProducer()org.springframework.jms.listener.AbstractMessageListenerContainercreateReplyToMessageListenerContainer()intgetAcknowledgementMode()StringgetAcknowledgementModeName()StringgetAllowAdditionalHeaders()protected ExecutorServicegetAsyncStartStopExecutorService()JmsBindinggetBinding()intgetCacheLevel()StringgetCacheLevelName()StringgetClientId()JmsComponentgetComponent()intgetConcurrentConsumers()JmsConfigurationgetConfiguration()javax.jms.ConnectionFactorygetConnectionFactory()DefaultTaskExecutorTypegetDefaultTaskExecutorType()IntegergetDeliveryMode()StringgetDestinationName()org.springframework.jms.support.destination.DestinationResolvergetDestinationResolver()StringgetDestinationType()StringgetDurableSubscriptionName()StringgetEagerPoisonBody()StringgetEndpointConfiguredDestinationName()Gets the destination name which was configured from the endpoint uri.org.springframework.util.ErrorHandlergetErrorHandler()org.apache.camel.LoggingLevelgetErrorHandlerLoggingLevel()javax.jms.ExceptionListenergetExceptionListener()org.apache.camel.spi.HeaderFilterStrategygetHeaderFilterStrategy()intgetIdleConsumerLimit()intgetIdleTaskExecutionLimit()JmsKeyFormatStrategygetJmsKeyFormatStrategy()JmsMessageTypegetJmsMessageType()org.springframework.jms.core.JmsOperationsgetJmsOperations()javax.jms.ConnectionFactorygetListenerConnectionFactory()intgetMaxConcurrentConsumers()intgetMaxMessagesPerTask()org.springframework.jms.support.converter.MessageConvertergetMessageConverter()MessageCreatedStrategygetMessageCreatedStrategy()MessageListenerContainerFactorygetMessageListenerContainerFactory()intgetPriority()longgetReceiveTimeout()longgetRecoveryInterval()StringgetReplyTo()StringgetReplyToCacheLevelName()intgetReplyToConcurrentConsumers()StringgetReplyToDestinationSelectorName()intgetReplyToMaxConcurrentConsumers()intgetReplyToOnTimeoutMaxConcurrentConsumers()StringgetReplyToOverride()StringgetReplyToType()longgetRequestTimeout()longgetRequestTimeoutCheckerInterval()intgetRunningMessageListeners()StringgetSelector()StringgetSubscriptionName()org.springframework.core.task.TaskExecutorgetTaskExecutor()javax.jms.ConnectionFactorygetTemplateConnectionFactory()StringgetThreadName()longgetTimeToLive()org.springframework.transaction.PlatformTransactionManagergetTransactionManager()StringgetTransactionName()intgetTransactionTimeout()intgetWaitForProvisionCorrelationToBeUpdatedCounter()longgetWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime()booleanisAcceptMessagesWhileStopping()booleanisAllowNullBody()booleanisAllowReplyManagerQuickStop()booleanisAllowSerializedHeaders()booleanisAlwaysCopyMessage()booleanisArtemisStreamingEnabled()booleanisAsyncConsumer()booleanisAsyncStartListener()booleanisAsyncStopListener()booleanisAutoStartup()booleanisDeliveryPersistent()booleanisDisableReplyTo()booleanisDisableTimeToLive()booleanisEagerLoadingOfProperties()booleanisErrorHandlerLogStackTrace()booleanisExplicitQosEnabled()booleanisExposeListenerSession()booleanisForceSendOriginalMessage()booleanisFormatDateHeadersToIso8601()booleanisIncludeAllJMSXProperties()booleanisIncludeSentJMSMessageID()booleanisLazyCreateTransactionManager()booleanisMessageIdEnabled()booleanisMessageTimestampEnabled()booleanisMultipleConsumersSupported()booleanisPreserveMessageQos()booleanisPubSubDomain()booleanisPubSubNoLocal()booleanisReplyToDeliveryPersistent()booleanisReplyToSameDestinationAllowed()protected booleanisRunning()State whether this endpoint is running (eg started)booleanisSubscriptionDurable()booleanisSubscriptionShared()booleanisTestConnectionOnStartup()booleanisTransacted()booleanisTransactedInOut()booleanisTransferException()booleanisTransferExchange()booleanisUseMessageIDAsCorrelationID()voidonListenerContainerStarting()voidonListenerContainerStopped()voidsetAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)voidsetAcknowledgementMode(int consumerAcknowledgementMode)voidsetAcknowledgementModeName(String consumerAcknowledgementMode)voidsetAllowAdditionalHeaders(String allowAdditionalHeaders)voidsetAllowNullBody(boolean allowNullBody)voidsetAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop)voidsetAllowSerializedHeaders(boolean allowSerializedHeaders)voidsetAlwaysCopyMessage(boolean alwaysCopyMessage)voidsetArtemisStreamingEnabled(boolean artemisStreamingEnabled)voidsetAsyncConsumer(boolean asyncConsumer)voidsetAsyncStartListener(boolean asyncStartListener)voidsetAsyncStopListener(boolean asyncStopListener)voidsetAutoStartup(boolean autoStartup)voidsetBinding(JmsBinding binding)Sets the binding used to convert from a Camel message to and from a JMS messagevoidsetCacheLevel(int cacheLevel)voidsetCacheLevelName(String cacheName)voidsetClientId(String consumerClientId)voidsetConcurrentConsumers(int concurrentConsumers)voidsetConfiguration(JmsConfiguration configuration)voidsetConnectionFactory(javax.jms.ConnectionFactory connectionFactory)voidsetDefaultTaskExecutorType(DefaultTaskExecutorType type)voidsetDeliveryMode(Integer deliveryMode)voidsetDeliveryPersistent(boolean deliveryPersistent)voidsetDestinationName(String destinationName)Name of the queue or topic to use as destinationvoidsetDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)voidsetDestinationType(String destinationType)The kind of destination to usevoidsetDisableReplyTo(boolean disableReplyTo)voidsetDisableTimeToLive(boolean disableTimeToLive)voidsetDurableSubscriptionName(String durableSubscriptionName)voidsetEagerLoadingOfProperties(boolean eagerLoadingOfProperties)voidsetEagerPoisonBody(String eagerPoisonBody)voidsetErrorHandler(org.springframework.util.ErrorHandler errorHandler)voidsetErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace)voidsetExceptionListener(javax.jms.ExceptionListener exceptionListener)voidsetExplicitQosEnabled(boolean explicitQosEnabled)voidsetExposeListenerSession(boolean exposeListenerSession)voidsetForceSendOriginalMessage(boolean forceSendOriginalMessage)voidsetFormatDateHeadersToIso8601(boolean formatDateHeadersToIso8601)voidsetHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)To use a custom HeaderFilterStrategy to filter header to and from Camel message.voidsetIdleConsumerLimit(int idleConsumerLimit)voidsetIdleTaskExecutionLimit(int idleTaskExecutionLimit)voidsetIncludeAllJMSXProperties(boolean includeAllJMSXProperties)voidsetIncludeSentJMSMessageID(boolean includeSentJMSMessageID)voidsetJmsKeyFormatStrategy(JmsKeyFormatStrategy jmsHeaderStrategy)voidsetJmsMessageType(JmsMessageType jmsMessageType)voidsetJmsOperations(org.springframework.jms.core.JmsOperations jmsOperations)voidsetLazyCreateTransactionManager(boolean lazyCreating)voidsetListenerConnectionFactory(javax.jms.ConnectionFactory listenerConnectionFactory)voidsetMaxConcurrentConsumers(int maxConcurrentConsumers)voidsetMaxMessagesPerTask(int maxMessagesPerTask)voidsetMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)voidsetMessageCreatedStrategy(MessageCreatedStrategy messageCreatedStrategy)voidsetMessageIdEnabled(boolean messageIdEnabled)voidsetMessageListenerContainerFactory(MessageListenerContainerFactory messageListenerContainerFactory)voidsetMessageTimestampEnabled(boolean messageTimestampEnabled)voidsetPreserveMessageQos(boolean preserveMessageQos)voidsetPriority(int priority)voidsetPubSubNoLocal(boolean pubSubNoLocal)voidsetReceiveTimeout(long receiveTimeout)voidsetRecoveryInterval(long recoveryInterval)voidsetReplyTo(String replyToDestination)voidsetReplyToCacheLevelName(String cacheName)voidsetReplyToConcurrentConsumers(int concurrentConsumers)voidsetReplyToDeliveryPersistent(boolean replyToDeliveryPersistent)voidsetReplyToDestinationSelectorName(String replyToDestinationSelectorName)voidsetReplyToMaxConcurrentConsumers(int maxConcurrentConsumers)voidsetReplyToOverride(String replyToDestination)voidsetReplyToSameDestinationAllowed(boolean replyToSameDestinationAllowed)voidsetReplyToType(String replyToType)voidsetRequestTimeout(long requestTimeout)voidsetSelector(String selector)voidsetSubscriptionDurable(boolean subscriptionDurable)voidsetSubscriptionName(String subscriptionName)voidsetSubscriptionShared(boolean subscriptionShared)voidsetTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)voidsetTemplateConnectionFactory(javax.jms.ConnectionFactory templateConnectionFactory)voidsetTestConnectionOnStartup(boolean testConnectionOnStartup)voidsetTimeToLive(long timeToLive)voidsetTransacted(boolean transacted)voidsetTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)voidsetTransactionName(String transactionName)voidsetTransactionTimeout(int transactionTimeout)voidsetTransferException(boolean transferException)voidsetTransferExchange(boolean transferExchange)voidsetUseMessageIDAsCorrelationID(boolean useMessageIDAsCorrelationID)voidsetWaitForProvisionCorrelationToBeUpdatedCounter(int counter)voidsetWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(long sleepingTime)voidshutdown()voidstop()-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createExchange, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, start, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createExchange, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext
-
-
-
-
Constructor Detail
-
JmsEndpoint
public JmsEndpoint()
-
JmsEndpoint
public JmsEndpoint(String uri, JmsComponent component, String destinationName, boolean pubSubDomain, JmsConfiguration configuration)
-
JmsEndpoint
public JmsEndpoint(String endpointUri, JmsBinding binding, JmsConfiguration configuration, String destinationName, boolean pubSubDomain)
-
-
Method Detail
-
createProducer
public org.apache.camel.Producer createProducer() throws Exception- Specified by:
createProducerin interfaceorg.apache.camel.Endpoint- Throws:
Exception
-
createConsumer
public JmsConsumer createConsumer(org.apache.camel.Processor processor) throws Exception
- Specified by:
createConsumerin interfaceorg.apache.camel.Endpoint- Throws:
Exception
-
createMessageListenerContainer
public org.springframework.jms.listener.AbstractMessageListenerContainer createMessageListenerContainer()
-
createReplyToMessageListenerContainer
public org.springframework.jms.listener.AbstractMessageListenerContainer createReplyToMessageListenerContainer()
-
configureListenerContainer
public void configureListenerContainer(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer, JmsConsumer consumer)
-
getEndpointConfiguredDestinationName
public String getEndpointConfiguredDestinationName()
Gets the destination name which was configured from the endpoint uri.- Returns:
- the destination name resolved from the endpoint uri
-
createConsumer
public JmsConsumer createConsumer(org.apache.camel.Processor processor, org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer) throws Exception
Creates a consumer using the given processor and listener container- Parameters:
processor- the processor to use to process the messageslistenerContainer- the listener container- Returns:
- a newly created consumer
- Throws:
Exception- if the consumer cannot be created
-
createPollingConsumer
public org.apache.camel.PollingConsumer createPollingConsumer() throws Exception- Specified by:
createPollingConsumerin interfaceorg.apache.camel.Endpoint- Overrides:
createPollingConsumerin classorg.apache.camel.support.DefaultEndpoint- Throws:
Exception
-
createExchange
public org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern)
- Specified by:
createExchangein interfaceorg.apache.camel.Endpoint- Overrides:
createExchangein classorg.apache.camel.support.DefaultEndpoint
-
createExchange
public org.apache.camel.Exchange createExchange(javax.jms.Message message, javax.jms.Session session)
-
createInOnlyTemplate
public org.springframework.jms.core.JmsOperations createInOnlyTemplate()
Factory method for creating a new template for InOnly message exchanges
-
createInOutTemplate
public org.springframework.jms.core.JmsOperations createInOutTemplate()
Factory method for creating a new template for InOut message exchanges
-
isMultipleConsumersSupported
public boolean isMultipleConsumersSupported()
- Specified by:
isMultipleConsumersSupportedin interfaceorg.apache.camel.MultipleConsumersSupport
-
getThreadName
public String getThreadName()
-
getComponent
public JmsComponent getComponent()
- Overrides:
getComponentin classorg.apache.camel.support.DefaultEndpoint
-
getHeaderFilterStrategy
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategyin interfaceorg.apache.camel.spi.HeaderFilterStrategyAware
-
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.- Specified by:
setHeaderFilterStrategyin interfaceorg.apache.camel.spi.HeaderFilterStrategyAware
-
getBinding
public JmsBinding getBinding()
-
createBinding
protected JmsBinding createBinding()
Creates theJmsBindingto use.
-
setBinding
public void setBinding(JmsBinding binding)
Sets the binding used to convert from a Camel message to and from a JMS message
-
getDestinationType
public String getDestinationType()
-
setDestinationType
public void setDestinationType(String destinationType)
The kind of destination to use
-
getDestinationName
public String getDestinationName()
-
setDestinationName
public void setDestinationName(String destinationName)
Name of the queue or topic to use as destination
-
getConfiguration
public JmsConfiguration getConfiguration()
-
setConfiguration
public void setConfiguration(JmsConfiguration configuration)
-
isPubSubDomain
@ManagedAttribute public boolean isPubSubDomain()
-
getAsyncStartStopExecutorService
protected ExecutorService getAsyncStartStopExecutorService()
-
onListenerContainerStarting
public void onListenerContainerStarting()
-
onListenerContainerStopped
public void onListenerContainerStopped()
-
isRunning
protected boolean isRunning()
State whether this endpoint is running (eg started)
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.camel.Service- Overrides:
stopin classorg.apache.camel.support.service.BaseService
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceorg.apache.camel.ShutdownableService- Overrides:
shutdownin classorg.apache.camel.support.service.BaseService
-
getAcknowledgementMode
@ManagedAttribute public int getAcknowledgementMode()
-
getAcknowledgementModeName
@ManagedAttribute public String getAcknowledgementModeName()
-
getCacheLevel
@ManagedAttribute public int getCacheLevel()
-
getCacheLevelName
@ManagedAttribute public String getCacheLevelName()
-
getReplyToCacheLevelName
@ManagedAttribute public String getReplyToCacheLevelName()
-
getClientId
@ManagedAttribute public String getClientId()
-
getConcurrentConsumers
@ManagedAttribute public int getConcurrentConsumers()
-
getReplyToConcurrentConsumers
@ManagedAttribute public int getReplyToConcurrentConsumers()
-
getConnectionFactory
public javax.jms.ConnectionFactory getConnectionFactory()
-
getDestinationResolver
public org.springframework.jms.support.destination.DestinationResolver getDestinationResolver()
-
getDurableSubscriptionName
@ManagedAttribute public String getDurableSubscriptionName()
-
getExceptionListener
public javax.jms.ExceptionListener getExceptionListener()
-
getErrorHandler
public org.springframework.util.ErrorHandler getErrorHandler()
-
getErrorHandlerLoggingLevel
public org.apache.camel.LoggingLevel getErrorHandlerLoggingLevel()
-
isErrorHandlerLogStackTrace
@ManagedAttribute public boolean isErrorHandlerLogStackTrace()
-
setErrorHandlerLogStackTrace
@ManagedAttribute public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace)
-
getIdleTaskExecutionLimit
@ManagedAttribute public int getIdleTaskExecutionLimit()
-
getIdleConsumerLimit
@ManagedAttribute public int getIdleConsumerLimit()
-
getJmsOperations
public org.springframework.jms.core.JmsOperations getJmsOperations()
-
getListenerConnectionFactory
public javax.jms.ConnectionFactory getListenerConnectionFactory()
-
getMaxConcurrentConsumers
@ManagedAttribute public int getMaxConcurrentConsumers()
-
getReplyToMaxConcurrentConsumers
@ManagedAttribute public int getReplyToMaxConcurrentConsumers()
-
getReplyToOnTimeoutMaxConcurrentConsumers
@ManagedAttribute public int getReplyToOnTimeoutMaxConcurrentConsumers()
-
getMaxMessagesPerTask
@ManagedAttribute public int getMaxMessagesPerTask()
-
getMessageConverter
public org.springframework.jms.support.converter.MessageConverter getMessageConverter()
-
getPriority
@ManagedAttribute public int getPriority()
-
getReceiveTimeout
@ManagedAttribute public long getReceiveTimeout()
-
getRecoveryInterval
@ManagedAttribute public long getRecoveryInterval()
-
getReplyTo
@ManagedAttribute public String getReplyTo()
-
getReplyToOverride
@ManagedAttribute public String getReplyToOverride()
-
isReplyToSameDestinationAllowed
@ManagedAttribute public boolean isReplyToSameDestinationAllowed()
-
getReplyToDestinationSelectorName
@ManagedAttribute public String getReplyToDestinationSelectorName()
-
getRequestTimeout
@ManagedAttribute public long getRequestTimeout()
-
getRequestTimeoutCheckerInterval
@ManagedAttribute public long getRequestTimeoutCheckerInterval()
-
getTaskExecutor
public org.springframework.core.task.TaskExecutor getTaskExecutor()
-
getTemplateConnectionFactory
public javax.jms.ConnectionFactory getTemplateConnectionFactory()
-
getTimeToLive
@ManagedAttribute public long getTimeToLive()
-
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
-
getTransactionName
@ManagedAttribute public String getTransactionName()
-
getTransactionTimeout
@ManagedAttribute public int getTransactionTimeout()
-
isAcceptMessagesWhileStopping
@ManagedAttribute public boolean isAcceptMessagesWhileStopping()
-
isAllowReplyManagerQuickStop
@ManagedAttribute public boolean isAllowReplyManagerQuickStop()
-
isAlwaysCopyMessage
@ManagedAttribute public boolean isAlwaysCopyMessage()
-
isAutoStartup
@ManagedAttribute public boolean isAutoStartup()
-
isDeliveryPersistent
@ManagedAttribute public boolean isDeliveryPersistent()
-
getDeliveryMode
@ManagedAttribute public Integer getDeliveryMode()
-
isDisableReplyTo
@ManagedAttribute public boolean isDisableReplyTo()
-
getEagerPoisonBody
@ManagedAttribute public String getEagerPoisonBody()
-
isEagerLoadingOfProperties
@ManagedAttribute public boolean isEagerLoadingOfProperties()
-
isExplicitQosEnabled
@ManagedAttribute public boolean isExplicitQosEnabled()
-
isExposeListenerSession
@ManagedAttribute public boolean isExposeListenerSession()
-
isMessageIdEnabled
@ManagedAttribute public boolean isMessageIdEnabled()
-
isMessageTimestampEnabled
@ManagedAttribute public boolean isMessageTimestampEnabled()
-
isPreserveMessageQos
@ManagedAttribute public boolean isPreserveMessageQos()
-
isPubSubNoLocal
@ManagedAttribute public boolean isPubSubNoLocal()
-
isReplyToDeliveryPersistent
@ManagedAttribute public boolean isReplyToDeliveryPersistent()
-
isTransacted
@ManagedAttribute public boolean isTransacted()
-
isTransactedInOut
@ManagedAttribute public boolean isTransactedInOut()
-
isLazyCreateTransactionManager
@ManagedAttribute public boolean isLazyCreateTransactionManager()
-
isUseMessageIDAsCorrelationID
@ManagedAttribute public boolean isUseMessageIDAsCorrelationID()
-
setAcceptMessagesWhileStopping
@ManagedAttribute public void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
-
setAllowReplyManagerQuickStop
@ManagedAttribute public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop)
-
setAcknowledgementMode
@ManagedAttribute public void setAcknowledgementMode(int consumerAcknowledgementMode)
-
setAcknowledgementModeName
@ManagedAttribute public void setAcknowledgementModeName(String consumerAcknowledgementMode)
-
setAlwaysCopyMessage
@ManagedAttribute public void setAlwaysCopyMessage(boolean alwaysCopyMessage)
-
setAutoStartup
@ManagedAttribute public void setAutoStartup(boolean autoStartup)
-
setCacheLevel
@ManagedAttribute public void setCacheLevel(int cacheLevel)
-
setCacheLevelName
@ManagedAttribute public void setCacheLevelName(String cacheName)
-
setReplyToCacheLevelName
@ManagedAttribute public void setReplyToCacheLevelName(String cacheName)
-
setClientId
@ManagedAttribute public void setClientId(String consumerClientId)
-
setConcurrentConsumers
@ManagedAttribute public void setConcurrentConsumers(int concurrentConsumers)
-
setReplyToConcurrentConsumers
@ManagedAttribute public void setReplyToConcurrentConsumers(int concurrentConsumers)
-
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
-
setDeliveryPersistent
@ManagedAttribute public void setDeliveryPersistent(boolean deliveryPersistent)
-
setDeliveryMode
@ManagedAttribute public void setDeliveryMode(Integer deliveryMode)
-
setDestinationResolver
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
-
setDisableReplyTo
@ManagedAttribute public void setDisableReplyTo(boolean disableReplyTo)
-
setDurableSubscriptionName
@ManagedAttribute public void setDurableSubscriptionName(String durableSubscriptionName)
-
setEagerPoisonBody
@ManagedAttribute public void setEagerPoisonBody(String eagerPoisonBody)
-
setEagerLoadingOfProperties
@ManagedAttribute public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties)
-
setExceptionListener
public void setExceptionListener(javax.jms.ExceptionListener exceptionListener)
-
setErrorHandler
public void setErrorHandler(org.springframework.util.ErrorHandler errorHandler)
-
setExplicitQosEnabled
@ManagedAttribute public void setExplicitQosEnabled(boolean explicitQosEnabled)
-
setExposeListenerSession
@ManagedAttribute public void setExposeListenerSession(boolean exposeListenerSession)
-
setIdleTaskExecutionLimit
@ManagedAttribute public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit)
-
setIdleConsumerLimit
@ManagedAttribute public void setIdleConsumerLimit(int idleConsumerLimit)
-
setJmsOperations
public void setJmsOperations(org.springframework.jms.core.JmsOperations jmsOperations)
-
setListenerConnectionFactory
public void setListenerConnectionFactory(javax.jms.ConnectionFactory listenerConnectionFactory)
-
setMaxConcurrentConsumers
@ManagedAttribute public void setMaxConcurrentConsumers(int maxConcurrentConsumers)
-
setReplyToMaxConcurrentConsumers
@ManagedAttribute public void setReplyToMaxConcurrentConsumers(int maxConcurrentConsumers)
-
setMaxMessagesPerTask
@ManagedAttribute public void setMaxMessagesPerTask(int maxMessagesPerTask)
-
setMessageConverter
public void setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
-
setMessageIdEnabled
@ManagedAttribute public void setMessageIdEnabled(boolean messageIdEnabled)
-
setMessageTimestampEnabled
@ManagedAttribute public void setMessageTimestampEnabled(boolean messageTimestampEnabled)
-
setPreserveMessageQos
@ManagedAttribute public void setPreserveMessageQos(boolean preserveMessageQos)
-
setPriority
@ManagedAttribute public void setPriority(int priority)
-
setPubSubNoLocal
@ManagedAttribute public void setPubSubNoLocal(boolean pubSubNoLocal)
-
setReceiveTimeout
@ManagedAttribute public void setReceiveTimeout(long receiveTimeout)
-
setRecoveryInterval
@ManagedAttribute public void setRecoveryInterval(long recoveryInterval)
-
setReplyTo
@ManagedAttribute public void setReplyTo(String replyToDestination)
-
setReplyToOverride
@ManagedAttribute public void setReplyToOverride(String replyToDestination)
-
setReplyToSameDestinationAllowed
@ManagedAttribute public void setReplyToSameDestinationAllowed(boolean replyToSameDestinationAllowed)
-
setReplyToDeliveryPersistent
@ManagedAttribute public void setReplyToDeliveryPersistent(boolean replyToDeliveryPersistent)
-
setReplyToDestinationSelectorName
@ManagedAttribute public void setReplyToDestinationSelectorName(String replyToDestinationSelectorName)
-
setRequestTimeout
@ManagedAttribute public void setRequestTimeout(long requestTimeout)
-
setTaskExecutor
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
-
setTemplateConnectionFactory
public void setTemplateConnectionFactory(javax.jms.ConnectionFactory templateConnectionFactory)
-
setTimeToLive
@ManagedAttribute public void setTimeToLive(long timeToLive)
-
setTransacted
@ManagedAttribute public void setTransacted(boolean transacted)
-
setLazyCreateTransactionManager
@ManagedAttribute public void setLazyCreateTransactionManager(boolean lazyCreating)
-
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
-
setTransactionName
@ManagedAttribute public void setTransactionName(String transactionName)
-
setTransactionTimeout
@ManagedAttribute public void setTransactionTimeout(int transactionTimeout)
-
setUseMessageIDAsCorrelationID
@ManagedAttribute public void setUseMessageIDAsCorrelationID(boolean useMessageIDAsCorrelationID)
-
getJmsMessageType
public JmsMessageType getJmsMessageType()
-
setJmsMessageType
public void setJmsMessageType(JmsMessageType jmsMessageType)
-
getJmsKeyFormatStrategy
public JmsKeyFormatStrategy getJmsKeyFormatStrategy()
-
setJmsKeyFormatStrategy
public void setJmsKeyFormatStrategy(JmsKeyFormatStrategy jmsHeaderStrategy)
-
getMessageCreatedStrategy
public MessageCreatedStrategy getMessageCreatedStrategy()
-
setMessageCreatedStrategy
public void setMessageCreatedStrategy(MessageCreatedStrategy messageCreatedStrategy)
-
isTransferExchange
@ManagedAttribute public boolean isTransferExchange()
-
setTransferExchange
@ManagedAttribute public void setTransferExchange(boolean transferExchange)
-
isAllowSerializedHeaders
@ManagedAttribute public boolean isAllowSerializedHeaders()
-
setAllowSerializedHeaders
@ManagedAttribute public void setAllowSerializedHeaders(boolean allowSerializedHeaders)
-
isTransferException
@ManagedAttribute public boolean isTransferException()
-
setTransferException
@ManagedAttribute public void setTransferException(boolean transferException)
-
isTestConnectionOnStartup
@ManagedAttribute public boolean isTestConnectionOnStartup()
-
setTestConnectionOnStartup
@ManagedAttribute public void setTestConnectionOnStartup(boolean testConnectionOnStartup)
-
isForceSendOriginalMessage
@ManagedAttribute public boolean isForceSendOriginalMessage()
-
setForceSendOriginalMessage
@ManagedAttribute public void setForceSendOriginalMessage(boolean forceSendOriginalMessage)
-
isDisableTimeToLive
@ManagedAttribute public boolean isDisableTimeToLive()
-
setDisableTimeToLive
@ManagedAttribute public void setDisableTimeToLive(boolean disableTimeToLive)
-
setAsyncConsumer
@ManagedAttribute public void setAsyncConsumer(boolean asyncConsumer)
-
isAsyncConsumer
@ManagedAttribute public boolean isAsyncConsumer()
-
setAsyncStartListener
@ManagedAttribute public void setAsyncStartListener(boolean asyncStartListener)
-
isAsyncStartListener
@ManagedAttribute public boolean isAsyncStartListener()
-
setAsyncStopListener
@ManagedAttribute public void setAsyncStopListener(boolean asyncStopListener)
-
isAsyncStopListener
@ManagedAttribute public boolean isAsyncStopListener()
-
isAllowNullBody
@ManagedAttribute public boolean isAllowNullBody()
-
setAllowNullBody
@ManagedAttribute public void setAllowNullBody(boolean allowNullBody)
-
isIncludeSentJMSMessageID
@ManagedAttribute public boolean isIncludeSentJMSMessageID()
-
setIncludeSentJMSMessageID
@ManagedAttribute public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID)
-
isIncludeAllJMSXProperties
@ManagedAttribute public boolean isIncludeAllJMSXProperties()
-
setIncludeAllJMSXProperties
@ManagedAttribute public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties)
-
getDefaultTaskExecutorType
@ManagedAttribute public DefaultTaskExecutorType getDefaultTaskExecutorType()
-
setDefaultTaskExecutorType
public void setDefaultTaskExecutorType(DefaultTaskExecutorType type)
-
getAllowAdditionalHeaders
@ManagedAttribute public String getAllowAdditionalHeaders()
-
setAllowAdditionalHeaders
@ManagedAttribute public void setAllowAdditionalHeaders(String allowAdditionalHeaders)
-
getMessageListenerContainerFactory
public MessageListenerContainerFactory getMessageListenerContainerFactory()
-
setMessageListenerContainerFactory
public void setMessageListenerContainerFactory(MessageListenerContainerFactory messageListenerContainerFactory)
-
isSubscriptionDurable
@ManagedAttribute public boolean isSubscriptionDurable()
-
setSubscriptionDurable
@ManagedAttribute public void setSubscriptionDurable(boolean subscriptionDurable)
-
isSubscriptionShared
@ManagedAttribute public boolean isSubscriptionShared()
-
setSubscriptionShared
@ManagedAttribute public void setSubscriptionShared(boolean subscriptionShared)
-
getSubscriptionName
@ManagedAttribute public String getSubscriptionName()
-
setSubscriptionName
@ManagedAttribute public void setSubscriptionName(String subscriptionName)
-
getReplyToType
@ManagedAttribute public String getReplyToType()
-
setReplyToType
@ManagedAttribute public void setReplyToType(String replyToType)
-
getRunningMessageListeners
@ManagedAttribute(description="Number of running message listeners") public int getRunningMessageListeners()
-
getSelector
@ManagedAttribute public String getSelector()
-
setSelector
public void setSelector(String selector)
-
getWaitForProvisionCorrelationToBeUpdatedCounter
@ManagedAttribute public int getWaitForProvisionCorrelationToBeUpdatedCounter()
-
setWaitForProvisionCorrelationToBeUpdatedCounter
@ManagedAttribute public void setWaitForProvisionCorrelationToBeUpdatedCounter(int counter)
-
getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime
@ManagedAttribute public long getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime()
-
setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime
@ManagedAttribute public void setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(long sleepingTime)
-
isFormatDateHeadersToIso8601
@ManagedAttribute public boolean isFormatDateHeadersToIso8601()
-
setFormatDateHeadersToIso8601
@ManagedAttribute public void setFormatDateHeadersToIso8601(boolean formatDateHeadersToIso8601)
-
isArtemisStreamingEnabled
@ManagedAttribute public boolean isArtemisStreamingEnabled()
-
setArtemisStreamingEnabled
@ManagedAttribute public void setArtemisStreamingEnabled(boolean artemisStreamingEnabled)
-
createEndpointUri
protected String createEndpointUri()
- Overrides:
createEndpointUriin classorg.apache.camel.support.DefaultEndpoint
-
-