// Perform rollback
StandardRollbackProcessor rollbackProcessor = new StandardRollbackProcessor();
rollbackProcessor.setRollbackDataBehavior(RollbackDataBehavior.RESTORE_VARIABLES);
rollbackProcessor.setRollbackPositionBehavior(RollbackPositionBehavior.MAINTAIN_POSITION);
rollbackProcessor.performRollback(ee);
// Continue at the error socket of the current node
ee.setHandlingOption(EngineExceptionHandlerEvent.HANDLING_OPTION_ERROR_SOCKET);
ee.skipSubsequentObservers();