protected function doPublish($data, $routingKey = '', $extras = array())
    {
        $producer = $this->getProducerService();
        $producer->setContentType($this->getContentType());
        $producer->publish($this->encodeMessageBody($data), $routingKey, $extras);
    }