You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/11 12:43:00 UTC

[jira] [Commented] (CAMEL-17571) camel-main - Allow to bean inject beans from @Inject and other similar annotations

    [ https://issues.apache.org/jira/browse/CAMEL-17571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504906#comment-17504906 ] 

Claus Ibsen commented on CAMEL-17571:
-------------------------------------

TODO: unit test in core for new SPI
TODO: spring annotations
TODO: cdi/quarkus annotations
TODO: documentation
TODO: example


> camel-main - Allow to bean inject beans from @Inject and other similar annotations
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-17571
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17571
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-main
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.17.0
>
>
> When running Camel standalone (not spring boot / quarkus / camel-k) but also with jbang, then it can be good if we can also allow to discover bean injections via @Inject and similar annotations. You can use Camels own @BeanInject but you may build a prototype and run standalone, and then later want to move this over to SB / Camel-K or Quarkus and then its easier if some of their annotations is already supported.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)