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

Spring Boot Auto-Configuration via application.properties does not work

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      I am trying to configure camel with spring boot to use active MQ. But the jms connection factory (activemq) gets not picked up automatically during auto configuration. Thus, I tried to configure it via application.properties

      camel.component.jms.connection-factory=org.apache.activemq.ActiveMQConnectionFactory

      But then I get an error on startup stating, that the expected datatype is 

      javax.jms.ConnectionFactory

      and not

      String

      The only solutions I have found is not using autoconfiguration and configuring JmsComponent by hand or using a ComponentCustomizer programatically. This seems to be a Bug, as other component auto configurations expect a String as connectionFactory property.

       

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              kaelumnaia Stephan Epping
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: