apache / apache/camel-k-runtime
CDI with Camel K runtime 1.7.
- Dominant language
- Java
- Stars
- 69
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
CDI does not work with Camel K runtime 1.7. The route is deployed, but when using the injected bean I get either a "nullpointerexception" or "bean not found". I tried it on an example from your project https://github.com/apache/camel-k/tree/aff450bfcccfa35ac0496336b1ea3801e4f8118f/e2e/yaks/openshift/monitoring/app
as well as on examples that work on Camel in combination with Quarkus (quarkus Di, spring DI). I enclose in the attachment.
I ask for verification / advice. It seems like https://github.com/apache/camel-k-runtime/issues/362 issue.
Thank you.
[CDI_pokus.zip](https://github.com/apache/camel-k-runtime/files/7801928/CDI_pokus.zip)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the CDI injection failure with the attached CDI_pokus.zip and the e2e/yaks/openshift/monitoring/app example at the referenced revision. Compare the behavior with camel-k-runtime issue 362 and determine whether the injected bean is null or cannot be found. Done means CDI injection works on Camel K runtime 1.7 without either reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kubernetes
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100