public function publish($queue, MessageInterface $message)
    {
        $message->setQueue($queue);
        $this->getAdapter()->publish($queue, $message);
    }
public function publish($queue, MessageInterface $message)
    {
        $message->setQueue($queue);
        $this->getAdapter()->publish($queue, $message);
    }
public function publish ( $ queue , MessageInterface $ message ) { $ message -> setQueue ( $ queue ) ; $ this -> getAdapter ( ) -> publish ( $ queue , $ message ) ; }
Publish a message

@param string           $queue Target queue to push message in
@param MessageInterface $message Message content
Publish a message