Add BaseSingleMessagePublisher to api