class SaveTimestampReceiver implements IMessageReceiver {

    @Override
    public void receive(final IMessageProcessor processor) throws MessageReceiveException, AsynchronousOperationException {
        try {
            processor.getContext().setValue(timeContextField, systemTime.currentTimeMillis());
        } catch (ChangeValueException | InvalidArgumentException e) {
            throw new MessageReceiveException("Could not save current time in message context.", e);
        }
    }

    public  SaveTimestampReceiver(final IFieldName fieldName);

}