You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "turing85 (via GitHub)" <gi...@apache.org> on 2023/10/15 16:07:55 UTC

[I] Type Converter defined through @Converter should support CDI beans [camel-quarkus]

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-unsubscribe@camel.apache.org.apache.org

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


Re: [I] Type Converter defined through @Converter should support CDI beans [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #5429: Type Converter defined through @Converter should support CDI beans
URL: https://github.com/apache/camel-quarkus/issues/5429


-- 
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-unsubscribe@camel.apache.org

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