Does @Autowired work in my spring-boot code that is placed in processors on Karavan #1236
-
Ask a questionI am building my spring boot code on karavan. I have a custom processor that has class A where object of another class B is declared as member and autowired. This injected object b is used to call methods of B. VariantWeb Application Container Management (if applicable)Docker Operating System (if applicable)Windows Version4.4.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.