Skip to content

Does @Autowired work in my spring-boot code that is placed in processors on Karavan #1236

Answered by davsclaus
MN-Dheeraj asked this question in Q&A
Discussion options

You must be logged in to vote

No karavan only runs vanilla camel (camel-main) and will only do dependency injection for camel stuff and among your own .java files where you can use annotations (camel, spring or cdi/quarkus).

You cannot use spring boot or spring boot auto-configuration or anything like that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davsclaus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants