/**
* Search for reader based on message class.
*/
private KeyReader findReader(final Collection<KeyReader> sagaKeyReaders, final Object message) {
KeyReader messageKeyReader = null;
Class messageClass = message.getClass();
for (KeyReader reader : sagaKeyReaders) {
if (reader.getMessageClass().equals(messageClass)) {
messageKeyReader = reader;