@Ingo_Richtsmeier What issues will it lead to if i follow the multithreading approach? Why it is not used?
Can i do something like below?
Create multiple ExternalTaskClient objects on server boot up something as below:
// say based on config will create n ExternalTaskClient
List < ExternalTaskClient > externalTaskClients;
public void enableWorkers(){
// loop over the list of client and call below code for each client
client.subscribe(“xxx”) .handler((externalTask, externalTaskService) -> {
// execute an action
});
}