ActiveMQPage edited by Glen Mazza
Comment:
text cleanup
Changes (23)
Full ContentActiveMQ ComponentThe ActiveMQ component allows messages to be sent to a JMS Queue or Topic or messages to be consumed from a JMS Queue or Topic using Apache ActiveMQ. This component is based on JMS Component and uses Spring's JMS support for declarative transactions, using Spring's JmsTemplate for sending and a MessageListenerContainer for consuming. All the options from the JMS component also applies for this component. To use this component make sure you have the activemq.jar or activemq-core.jar on your classpath along with any Camel dependencies such as camel-core.jar, camel-spring.jar and camel-jms.jar. URI formatactivemq:[queue:|topic:]destinationName
camel-jmsYou must have the camel-jms as dependency as ActiveMQ is an extension to the JMS component. <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jms</artifactId> <version>1.6.0</version> </dependency> The ActiveMQ Camel component is released with the ActiveMQ project itself. ActiveMQ 5.2 or later<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-camel</artifactId> <version>5.2.0</version> </dependency> ActiveMQ 5.1.0For 5.1.0 its in the activemq-core library <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.1.0</version> </dependency> Alternatively you can download the component jar directly from the Maven repository: ActiveMQ 4.xFor this version you must use the JMS component instead. Please be careful to use a pooling connection factory as described in the JmsTemplate Gotchas See Also
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|