You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Knut-Håvard Aksnes <kh...@gmail.com> on 2017/07/12 13:26:28 UTC

Configuration problems with Spring Boot and ActiveMQ

Problem: The activemq Camel component doesn't honor
spring.activemq.broker-url
Versions affected: At least Camel 2.19.1 with Spring Boot 1.5.4 and current
Camel 2.20.0 snapshot.
Hos to reproduce:
  1) Check out camel-example-spring-boot-activemq
  2) Uncomment the spring.activemq.broker-url line and charge the port to
61716
  3) Do the same port charge 61616 to 61716 in activemq.xml
  4) Run the example as described in readme.adoc
  5) It fails with a message: Failed to connect to [tcp://localhost:16161]

Re: Configuration problems with Spring Boot and ActiveMQ

Posted by "Preben.Asmussen" <pr...@dr.dk>.
There is some discussions about this here
http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-td5799927.html

And a amq ticket here https://issues.apache.org/jira/browse/AMQ-6694

The workaround is to use the jms component instead of the activemq one.

/Preben



--
View this message in context: http://camel.465427.n5.nabble.com/Configuration-problems-with-Spring-Boot-and-ActiveMQ-tp5806824p5806827.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Configuration problems with Spring Boot and ActiveMQ

Posted by Knut-Håvard Aksnes <kh...@gmail.com>.
Typo by me: The port number in the failure message is 61616 not 16161.
The important point is that the client is searching for the default address
not the configurated one.



--
View this message in context: http://camel.465427.n5.nabble.com/Configuration-problems-with-Spring-Boot-and-ActiveMQ-tp5806824p5806825.html
Sent from the Camel - Users mailing list archive at Nabble.com.