@Override
public Method load(final InvokerKey key) throws Exception {
Method methodToInvoke = null;
SagaHandlersMap handlers = handlersMapMap.get(key.getSagaClass());
if (handlers != null) {
for (MessageHandler handler : handlers.messageHandlers()) {
if (handler.getMessageType().isAssignableFrom(key.getMsgClass())) {
methodToInvoke = handler.getMethodToInvoke();
break;
}
}