Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-06-02 Thread Preben.Asmussen
Created https://issues.apache.org/jira/browse/AMQ-6694 -- View this message in context: http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-tp5799927p5801663.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-30 Thread Claus Ibsen
Hi We are busy these days. Can you maybe log a JIRA and provided a github PR. And then run all the tests of camel-jms with the potential fix. That will give us a head start On Fri, May 26, 2017 at 6:38 PM, Preben.Asmussen wrote: > Hi Claus > > The example is now head, and I just wanted to follow

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-26 Thread Preben.Asmussen
Hi Claus The example is now head, and I just wanted to follow up on this in regards to https://issues.apache.org/jira/browse/CAMEL-10226 where the change to the ActivemqComponent was introduced. IMHO if you are using SB starters you would expect the activemq autowirering to work how it's describe

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-22 Thread Claus Ibsen
I logged a ticket to create an example at Apache Camel as that helps look into this https://issues.apache.org/jira/browse/CAMEL-11311 On Mon, May 22, 2017 at 8:19 AM, Preben.Asmussen wrote: > Forgot to mention that the commit relates to > https://issues.apache.org/jira/browse/CAMEL-10226 > > I wo

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
Forgot to mention that the commit relates to https://issues.apache.org/jira/browse/CAMEL-10226 I wonder if it should be reopened. My guess is that if you use SB starter for activemq you would want SB to autoconfigure the cf, and use SB property overrides. Currently the starter for activemq seems

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
I suspect this commit to cause the difference https://github.com/apache/activemq/commit/4437393aa1a981a182142c255f76ae7cc50af183#diff-474de9fc51b7273d42a39c6327492388 the method got renamed from getAllowAutoWiredConnectionFactory to isAllowAutoWiredConnectionFactory so when the ActivemqComponent

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Claus Ibsen
On Sun, May 21, 2017 at 1:45 PM, Preben.Asmussen wrote: > works on 5.14.0 but not on 5.14.1 ... You can try to diff the commits between those versions to see if you can point to some JIRA / commits that changed this behavior > > > > -- > View this message in context: > http://camel.465427.n5.na

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
works on 5.14.0 but not on 5.14.1 ... -- View this message in context: http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-tp5799927p5799966.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Claus Ibsen
Try with the in between versions 5.14.1 .. 5.14.3 and see which one started not working for you On Sun, May 21, 2017 at 1:18 PM, Preben.Asmussen wrote: > Did a bit of debugging with a bizar result. > > The SB auto created connection factory get's set on the JmsConfiguration in > https://github.co

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
Did a bit of debugging with a bizar result. The SB auto created connection factory get's set on the JmsConfiguration in https://github.com/apache/camel/blob/master/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java#L160 The isAllowAutoWiredConnectionFactory metho

spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-20 Thread Preben.Asmussen
Hi Juste doing some testing on boot+activemq with camel version 2.19.0 It seems that when you set the spring property spring.activemq.broker-url it will not be set on the amq connectinfactory when using autoconfig. A simple test class as @SpringBootApplication public class DemoApplication {