public class ActiveMQComponent extends org.apache.camel.component.jms.JmsComponent implements org.apache.camel.spi.EndpointCompleter
| Constructor and Description |
|---|
ActiveMQComponent() |
ActiveMQComponent(ActiveMQConfiguration configuration) |
ActiveMQComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
static ActiveMQComponent |
activeMQComponent()
Creates an ActiveMQ Component
|
static ActiveMQComponent |
activeMQComponent(String brokerURL)
Creates an ActiveMQ Component
connecting to the given broker URL
|
protected void |
addPooledConnectionFactoryService(Service pooledConnectionFactoryService) |
protected void |
addSingleConnectionFactory(org.springframework.jms.connection.SingleConnectionFactory singleConnectionFactory) |
List<String> |
completeEndpointPath(org.apache.camel.ComponentConfiguration componentConfiguration,
String completionText) |
protected String |
convertPathToActualDestination(String path,
Map<String,Object> parameters) |
protected org.apache.camel.component.jms.JmsConfiguration |
createConfiguration() |
protected void |
createDestinationSource() |
protected void |
doStart() |
protected void |
doStop() |
boolean |
isExposeAllQueues() |
void |
setBrokerURL(String brokerURL) |
void |
setConfiguration(org.apache.camel.component.jms.JmsConfiguration configuration) |
void |
setExposeAllQueues(boolean exposeAllQueues)
If enabled this will cause all Queues in the ActiveMQ broker to be eagerly populated into the CamelContext
so that they can be easily browsed by any Camel tooling.
|
void |
setPassword(String password) |
void |
setUsePooledConnection(boolean usePooledConnection) |
void |
setUserName(String userName) |
void |
setUseSingleConnection(boolean useSingleConnection) |
createEndpoint, createQueueEndpoint, createTemporaryQueueEndpoint, createTemporaryTopicEndpoint, createTopicEndpoint, doShutdown, getAsyncStartStopExecutorService, getConfiguration, getHeaderFilterStrategy, getQueueBrowseStrategy, jmsComponent, jmsComponent, jmsComponent, jmsComponentAutoAcknowledge, jmsComponentClientAcknowledge, jmsComponentTransacted, jmsComponentTransacted, setAcceptMessagesWhileStopping, setAcknowledgementMode, setAcknowledgementModeName, setAllowNullBody, setAlwaysCopyMessage, setApplicationContext, setAsyncConsumer, setAsyncStartListener, setAsyncStopListener, setAutoStartup, setCacheLevel, setCacheLevelName, setClientId, setConcurrentConsumers, setConnectionFactory, setDefaultTaskExecutorType, setDeliveryMode, setDeliveryPersistent, setDestinationResolver, setDurableSubscriptionName, setEagerLoadingOfProperties, setErrorHandler, setErrorHandlerLoggingLevel, setErrorHandlerLogStackTrace, setExceptionListener, setExplicitQosEnabled, setExposeListenerSession, setForceSendOriginalMessage, setHeaderFilterStrategy, setIdleConsumerLimit, setIdleTaskExecutionLimit, setIncludeAllJMSXProperties, setIncludeSentJMSMessageID, setJmsKeyFormatStrategy, setJmsKeyFormatStrategy, setJmsOperations, setLazyCreateTransactionManager, setMapJmsMessage, setMaxConcurrentConsumers, setMaxMessagesPerTask, setMessageConverter, setMessageIdEnabled, setMessageTimestampEnabled, setPreserveMessageQos, setPriority, setPubSubNoLocal, setQueueBrowseStrategy, setReceiveTimeout, setRecoveryInterval, setReplyToCacheLevelName, setReplyToType, setRequestTimeout, setRequestTimeoutCheckerInterval, setSubscriptionDurable, setTaskExecutor, setTestConnectionOnStartup, setTimeToLive, setTransacted, setTransactionManager, setTransactionName, setTransactionTimeout, setTransferException, setTransferExchange, setUseMessageIDAsCorrelationIDcreateComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIpublic ActiveMQComponent()
public ActiveMQComponent(org.apache.camel.CamelContext context)
public ActiveMQComponent(ActiveMQConfiguration configuration)
public static ActiveMQComponent activeMQComponent()
public static ActiveMQComponent activeMQComponent(String brokerURL)
brokerURL - the URL to connect topublic void setBrokerURL(String brokerURL)
public void setUserName(String userName)
public void setPassword(String password)
public boolean isExposeAllQueues()
public void setExposeAllQueues(boolean exposeAllQueues)
exposeAllQueues - public void setUsePooledConnection(boolean usePooledConnection)
public void setUseSingleConnection(boolean useSingleConnection)
protected void addPooledConnectionFactoryService(Service pooledConnectionFactoryService)
protected void addSingleConnectionFactory(org.springframework.jms.connection.SingleConnectionFactory singleConnectionFactory)
protected String convertPathToActualDestination(String path, Map<String,Object> parameters)
convertPathToActualDestination in class org.apache.camel.component.jms.JmsComponentprotected void doStart() throws Exception
doStart in class org.apache.camel.component.jms.JmsComponentExceptionprotected void createDestinationSource()
protected void doStop() throws Exception
doStop in class org.apache.camel.impl.DefaultComponentExceptionpublic void setConfiguration(org.apache.camel.component.jms.JmsConfiguration configuration)
setConfiguration in class org.apache.camel.component.jms.JmsComponentprotected org.apache.camel.component.jms.JmsConfiguration createConfiguration()
createConfiguration in class org.apache.camel.component.jms.JmsComponentpublic List<String> completeEndpointPath(org.apache.camel.ComponentConfiguration componentConfiguration, String completionText)
completeEndpointPath in interface org.apache.camel.spi.EndpointCompleterCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.