|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.jms.JmsComponent
org.apache.activemq.camel.component.ActiveMQComponent
public class ActiveMQComponent
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
ActiveMQComponent()
|
|
ActiveMQComponent(ActiveMQConfiguration configuration)
|
|
ActiveMQComponent(org.apache.camel.CamelContext context)
|
|
| Method Summary | |
|---|---|
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(org.apache.activemq.Service pooledConnectionFactoryService)
|
protected void |
addSingleConnectionFactory(org.springframework.jms.connection.SingleConnectionFactory singleConnectionFactory)
|
protected String |
convertPathToActualDestination(String path,
Map<String,Object> parameters)
|
protected org.apache.camel.component.jms.JmsConfiguration |
createConfiguration()
|
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)
|
| Methods inherited from class org.apache.camel.component.jms.JmsComponent |
|---|
createEndpoint, 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, setDeliveryPersistent, setDestinationResolver, setDurableSubscriptionName, setEagerLoadingOfProperties, setErrorHandler, setErrorHandlerLoggingLevel, setErrorHandlerLogStackTrace, setExceptionListener, setExplicitQosEnabled, setExposeListenerSession, setForceSendOriginalMessage, setHeaderFilterStrategy, setIdleConsumerLimit, setIdleTaskExecutionLimit, setIncludeSentJMSMessageID, 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, setUseMessageIDAsCorrelationID |
| Methods inherited from class org.apache.camel.impl.DefaultComponent |
|---|
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveMQComponent()
public ActiveMQComponent(org.apache.camel.CamelContext context)
public ActiveMQComponent(ActiveMQConfiguration configuration)
| Method Detail |
|---|
public static ActiveMQComponent activeMQComponent()
public static ActiveMQComponent activeMQComponent(String brokerURL)
brokerURL - the URL to connect to
public 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(org.apache.activemq.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.JmsComponent
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultComponentException
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.JmsComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||