public function ack()
    {
        $this->checkChannel();

        $outputFrame = BasicAckFrame::create($this->tag);
        $outputFrame->frameChannelId = $this->channel->getId();

        $this->channel->getConnection()->command($outputFrame);
    }