As before, you need that file to tell Camel which classes or java
packages have type converters.
We recommend listing all the type coverter classes so you avoid
package scanning.

The class and methods must also be annotated with @Converter etc.

So you still need that file.


On Wed, Apr 6, 2016 at 11:55 AM, kalber <karlheinz.al...@swslt.com> wrote:
> In a version before i insert class of my converters under
> /resources/META-INF/services/org/apache/camel/TypeConverter file
> and works fine.
>
> Now i delete this file and  annotated classes with @Converter.
>
> But i get this error 'Caused by:
> org.apache.camel.NoTypeConversionAvailableException: No type converter
> available to convert from type'
>
> What  must i do that my converters are auto detected ?
>
>
>
>
>
> -----
> kh
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-2-17-Converter-auto-detection-tp5780578.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to