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 method determines if it is set, and is
implemented in both the JmsComponent where it returns true, and the
ActivemqComponent where it returns false.

When app is run with 5.14.0 the
JmsComponent.isAllowAutoWiredConnectionFactory is correctly called, and the
cf get's injected.
But when using the managed version 5.14.4 the
ActivemqComponent.isAllowAutoWiredConnectionFactory is called (where it
should have been the JmsComponent) that returns false so the cf is not set.

What am I overlooking ???

/Preben














--
View this message in context: 
http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-tp5799927p5799964.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to