示例#1
0
 /**
  * @param object              $message
  * @param PublishOptions|null $options
  */
 public function publish($message, PublishOptions $options = null)
 {
     $options = $options ?: $this->outgoingOptionsFactory->createPublishOptions();
     $this->busOperations->publish($message, $options, $this);
 }