When using elasticsearch in a handler, a replay will catch a runtime error generated by elasticsearch SearchService.
This happens unconditionally if you use elasticsearch in this handler or not.
As a workaround I would like to patch: public Object invokeHandlerMethod(Message parameter) in
package org.axonframework.common.annotation.MessageHandlerInvoker so that this specific Exception is not killing the replay.
Is this the worst Idea you can imagine or should I proceed?