but when the process has already stopped the thread gets exceptions. It should first check if the process is alive before creating message correlation. How to do it?
What about message correlation id?
If there are 10 instances, each with another correlationId I want to check not only if there is any instance running but want to check if specific instance with specific correlationId is working…
This is perfect to check if there is a single instance running for .correlate() but now for .correlateAll() I would like to have possibility to check if there are > 1 instances. When I use the above solution for this case then it throws exception but I woold like to get rather true.