camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-11371) Add note about spring-boot and TypeConverter file in camel docs
Date Thu, 01 Jun 2017 06:47:04 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-11371.
---------------------------------
    Resolution: Won't Fix

The former is deprecated and the FQN is recommended as said in that big green box on the doc
page

> 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: Improvement
>          Components: documentation
>    Affects Versions: 2.18.4, 2.19.0
>            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)

Mime
View raw message