turing85 opened a new issue, #5429:
URL: https://github.com/apache/camel-quarkus/issues/5429

   ### Describe the feature here
   
   The [documentation on type converters 
(`camel.apache.com`)][camelTypeConverter] mentions the possibility to use 
non-static mehtods and injection. This, however, seems to not work at the 
moment. It would be nice if `@ApplicationScoped` beans, annotated with 
`@Converter` would be registered as converters.
   
   ---
   Story:
   *As* A developer
   *When* I define a `@ApplicationScoped @Converter` CDI bean
   *Then* I expect that the CDI-bean is registered in Camel's 
`TypeConverterRegistry`
   
   ---
   
   Companion-code that should succeed when the feature is realized: 
https://github.com/turing85/quarkus-camel-jaxb/tree/non-static-converter
   
   The companion-code includes a test hat is automatically run when `./mvn 
clean package` is exeucted.
   
   [camelTypeConverter]: 
https://camel.apache.org/manual/type-converter.html#_writing_your_own_type_converters


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to