Hello all,
I am doing some experiments enabling parallelism in our application which has a
lot of services.
Now I sometimes encounter a situation where a service that is being removed via
the ‘removed' injection callback is no longer a complete service (the service
being removed is missing a required dependency):
Service A gets remove callback for M; Service M requires service X; Service X
is no longer present in M. All services have been started in parallel using the
ComponentExecutorFactory with a thread pool.
Is my assumption correct that when enabling parallelism this is likely to
happen as the order is not fixed what happens earlier: the removal of X from M
or the the removal of M from A?
Thanks,
Jeroen