You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Josef Ludvíček (JIRA)" <ji...@apache.org> on 2017/05/31 12:08:04 UTC

[jira] [Created] (CAMEL-11371) Add note about spring-boot and TypeConverter file in camel docs

Josef Ludvíček created CAMEL-11371:
--------------------------------------

             Summary: Add note about spring-boot and TypeConverter file in camel docs
                 Key: CAMEL-11371
                 URL: https://issues.apache.org/jira/browse/CAMEL-11371
             Project: Camel
          Issue Type: Bug
          Components: documentation
    Affects Versions: 2.19.0, 2.18.4
            Reporter: Josef Ludvíček


Documentation for camel [TypeConverter|http://camel.apache.org/type-converter.html] suggests two alternatives for file
{{META-INF/services/org/apache/camel/TypeConverter}}

First is to use package name
{code}
com.foo
com.bar
{code}
second is to use FQN
{code}
com.foo.MyConverter
com.bar.MyOtherConverter
com.bar.YetOtherConverter
{code}

They both work for deployment in Apache Karaf container,
but the first one causes issues in deployment with spring boot.
See 
* https://github.com/czgov/camel-isds/issues/34
* https://issues.apache.org/jira/browse/CAMEL-6158

I think it would be useful to include note about package scan and spring-boot issues in the docs.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)