You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Epping (JIRA)" <ji...@apache.org> on 2018/11/26 08:50:00 UTC

[jira] [Created] (CAMEL-12956) Spring Boot Auto-Configuration via application.properties does not work

Stephan Epping created CAMEL-12956:
--------------------------------------

             Summary: Spring Boot Auto-Configuration via application.properties does not work
                 Key: CAMEL-12956
                 URL: https://issues.apache.org/jira/browse/CAMEL-12956
             Project: Camel
          Issue Type: Bug
          Components: camel-activemq, camel-jms, camel-spring-boot, camel-spring-boot-starters
    Affects Versions: 2.22.2
            Reporter: Stephan Epping


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)