class ReSendRestoringSequenceRecoverStrategy implements IRecoverStrategy {

    @Override
    public void init(final IObject state, final IObject args, final IMessageProcessor processor)
            throws RecoverStrategyInitializationException {
        try {
            IObject sequenceDump = IOC.resolve(Keys.getOrAdd("make dump"), processor.getSequence(), args);

            state.setValue(sequenceDumpFieldName, sequenceDump);
        } catch (ResolutionException | ChangeValueException | InvalidArgumentException e) {
            throw new RecoverStrategyInitializationException("Error occurred preparing dump of message processing sequence.", e);
        }
    }

    public  ReSendRestoringSequenceRecoverStrategy();

}