Add the BaseSingleMessagePublisher class