Hi,
Spring Boot creates connectionFactory bean for you. It is named
"jmsConnectionfactory" [1]. In order to wire Camel with Spring Boot AMQ
support, you have to refer that bean from JMS component URI:
from("jms:queue?connectionFactory=#jmsConnectionfactory").to(...);
Simple as that :)
Cheers!
Really just trying to make sure I understand how the configuration works. If
I auto configure activemq with Spring Boot, I have noticed that an activemq
component is also created in the camel context. Is Spring Boot creating
this component or the camel context?
So when I need to have a component
Hello,
I'd check out the source of JmsAutoConfiguration and
ActiveMQAutoConfiguration to see what Spring Boot autoconfigures.
Essentially everything under the
org.springframework.boot.autoconfigure package.
For example ActiveMQ can be configured by supplying ActiveMQProperties
through Spring Boot
Any help on this?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-and-Activemq-setup-with-Spring-Boot-tp5774544p5774651.html
Sent from the Camel - Users mailing list archive at Nabble.com.