Dan Sirbu wrote:
I am getting a java.lang.IllegalStateException: Illegal controller state when the async call is executed. Let's say I have 2 modules (M1,M2) that I start from the same ME. M1 does not have any blocking op, but M2 does. The M1 module completes it's start ok.
But the M2 fails when calling async. The question is, can I do something like that ?
Only the service itself can call asynchronous in it's start or stop method. As mentioned above, it must be called before the service method returns.