Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14643

Configuring brokerurl leads to duplication in camel-activemq and spring-boot

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      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 ?  

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              preben Preben Asmussen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: