You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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 withparameter %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
The text was updated successfully, but these errors were encountered: