Closes gh-39236
Comment From: scottfrederick
@kse-music After writing a test to reproduce the original problem, it looked like your fix would work. Unfortunately, after further testing the change you've made is not correct. The getInvoker method that was changed should return an OperationInvoker, but with this change it is actually invoking the invoker (with Mono.fromCallable(() -> invoker.invoke(context))) and returning the results of the invocation. In essence, the invocation is happening too early after this change, which causes existing tests to fail. I'm testing a different fix.
Thanks anyway for the contribution.