public static <MESSAGE, KEY> FunctionKeyReader<MESSAGE, KEY> create(
            final Class<MESSAGE> messageClazz,
            final ContextKeyExtractFunction<MESSAGE, KEY>  contextReadFunction) {
        return new FunctionKeyReader<>(messageClazz, contextReadFunction);
    }
public static < MESSAGE , KEY > FunctionKeyReader < MESSAGE , KEY > create ( final Class < MESSAGE > messageClazz , final ContextKeyExtractFunction < MESSAGE , KEY > contextReadFunction ) { return new FunctionKeyReader < > ( messageClazz , contextReadFunction ) ; }
Creates new extractor capable of extracting a saga instance key from a message.