Exemplo n.º 1
0
 /**
  * @param object            $message
  * @param ReplyOptions|null $options
  */
 public function reply($message, ReplyOptions $options = null)
 {
     $options = $options ?: $this->outgoingOptionsFactory->createReplyOptions();
     $this->busOperations->reply($message, $options, $this);
 }
Exemplo n.º 2
0
 /**
  * @param string                  $eventFqcn
  * @param UnsubscribeOptions|null $options
  */
 public function unsubscribe($eventFqcn, UnsubscribeOptions $options = null)
 {
     $options = $options ?: $this->outgoingOptionsFactory->createUnsubscribeOptions();
     $this->busOperations->unsubscribe($eventFqcn, $options, $this->rootContext);
 }