src/Broker/ActiveMq/Mode/DurableSubscription.php
public function deactivate()
    {
        if ($this->active) {
            $this->inactive();
            $this->client->sendFrame(
                $this->getProtocol()
                    ->getUnsubscribeFrame(
                        $this->subscription->getDestination(),
                        $this->subscription->getSubscriptionId(),
                        true
                    )
            );
            $this->active = false;
        }
    }
public function deactivate()
    {
        if ($this->active) {
            $this->inactive();
            $this->client->sendFrame(
                $this->getProtocol()
                    ->getUnsubscribeFrame(
                        $this->subscription->getDestination(),
                        $this->subscription->getSubscriptionId(),
                        true
                    )
            );
            $this->active = false;
        }
    }
public function deactivate ( ) { if ( $ this -> active ) { $ this -> inactive ( ) ; $ this -> client -> sendFrame ( $ this -> getProtocol ( ) -> getUnsubscribeFrame ( $ this -> subscription -> getDestination ( ) , $ this -> subscription -> getSubscriptionId ( ) , true ) ) ; $ this -> active = false ; } }
Permanently remove durable subscription.

@see inactive() if you just want to indicate that the consumer is offline now.
@return void
Permanently remove durable subscription .