code: private Collection<KeyReader> findReader(final Class<? extends Saga> sagaClazz, final Class<?> messageClazz) {
          Saga saga = sagaProviderFactory.createProvider(sagaClazz).get();
          Collection<KeyReader> readers = saga.keyReaders();
          if (readers == null) {
              // return empty list in case saga returns null for any reason
              readers = new ArrayList<>();
          }
  
          return readers;
      }
docs: Search for a reader based on saga type.