You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/11/22 19:13:48 UTC

[GitHub] [camel-kamelets] christophd opened a new issue, #1173: Kamelet validator prevents @BeanInject usage

christophd opened a new issue, #1173:
URL: https://github.com/apache/camel-kamelets/issues/1173

   I tried to use `@BeanInject` in camel-kamelets-utils in order to autowire beans that are defined in Kamelet template section. The Kamelet validation scripts prevents this with `parameter %q is declared in kamelet %q but never used`
   
   This is because the bean is declared in Kamelet but not used with `#bean:{{myBean}}` syntax due to @BeanInject.
   
   Is @BeanInject something we want to support? We would need to change the Kamelet validation tool accordingly
   
   


-- 
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


[GitHub] [camel-kamelets] oscerd commented on issue #1173: Kamelet validator prevents @BeanInject usage

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1173:
URL: https://github.com/apache/camel-kamelets/issues/1173#issuecomment-1324730082

   I don't have strong opininion on this. I would prefer to keep the stuff simple, but relaxing validation for having some more flexibility in relation to beans is fine.


-- 
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