Spring Dependency Injection control over the Worker.
I created a new Component to start the worker that injects all the dependencies based on beans annotated in the context file. Use the WorkerComponentStarter instead of the WorkerComponent.
Also, it is needed to set up the env var CONTEXT_CONFIG_FILE, pointing to the spring context file.
Spring Dependency Injection control over the Worker. I created a new Component to start the worker that injects all the dependencies based on beans annotated in the context file. Use the WorkerComponentStarter instead of the WorkerComponent. Also, it is needed to set up the env var CONTEXT_CONFIG_FILE, pointing to the spring context file.