class ResponseSenderReceiver implements IMessageReceiver {

    @Override
    public void receive(final IMessageProcessor processor) throws MessageReceiveException, AsynchronousOperationException {
        try {
            action.execute(processor.getEnvironment());
        } catch (ActionExecuteException | InvalidArgumentException e) {
            throw new MessageReceiveException("Error occurred sending response.", e);
        }
    }

    public  ResponseSenderReceiver();

}