[ 
https://issues.apache.org/jira/browse/CAMEL-14643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053257#comment-17053257
 ] 

Claus Ibsen edited comment on CAMEL-14643 at 3/6/20, 10:29 AM:
---------------------------------------------------------------

You need to turn on allow to use autowired CF as its mistakenly disabled on SB

 

camel:
 springboot:
 shutdown-timeout: 2
 component:
 activemq:
 allow-auto-wired-connection-factory: true
 health:
 check:
 routes:
 enabled: true


was (Author: davsclaus):
You need to turn on allow to use autowired CF

 

camel:
 springboot:
 shutdown-timeout: 2
 component:
 activemq:
 allow-auto-wired-connection-factory: true
 health:
 check:
 routes:
 enabled: true

> Configuring brokerurl leads to duplication in camel-activemq and spring-boot 
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-14643
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14643
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-activemq, camel-spring-boot
>    Affects Versions: 3.0.1, 3.1.0
>            Reporter: Preben Asmussen
>            Priority: Major
>             Fix For: 3.2.0
>
>
> When upgrading from camel 3.0.0 to 3.x.x the spring.activemq.broker-url is no 
> longer used when configuring the camel-activemq component. 
> It seems that you now have to specify both the spring property (for the SB 
> health check to work) and the camel.componnt.activemq.broker-u-r-l for the 
> component to work when picking up configuration properties.
> There is an example here [https://github.com/pax95/failover-test] 
> when you omit the camel.component.activemq.broker-u-r-l the component picks 
> up the default localhost broker and not the spring boot one specified by 
> spring.activemq.broker-url
> Maybe there there are some SB bean conditionals missing ?  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to