src/Queue/AggregateQueue.php
function release($id, $queue = null)
    {
        if ( $id instanceof iPayloadQueued ) {
            $arg = $id;
            $id    = $arg->getUID();
            $queue = $arg->getQueue();
        }

        if ($queue === null)
        {
            /** @var iQueueDriver $queue */
            foreach ($this->channels_queue as $channel => $queue ) {
                if ( $queue->findByID($id, $channel) )
                    $queue->release($id, $queue);
            }

        } else {
            if (false === $qd = $this->_getQueueOfChannel($queue) )
                throw new \RuntimeException(sprintf(
                    'Channel (%s) is not present when trying to release: (%s)'
                    , $queue ,\Poirot\Std\flatten($id)
                ));


            $qd->release($id, $queue);
        }
    }
function release($id, $queue = null)
    {
        if ( $id instanceof iPayloadQueued ) {
            $arg = $id;
            $id    = $arg->getUID();
            $queue = $arg->getQueue();
        }

        if ($queue === null)
        {
            /** @var iQueueDriver $queue */
            foreach ($this->channels_queue as $channel => $queue ) {
                if ( $queue->findByID($id, $channel) )
                    $queue->release($id, $queue);
            }

        } else {
            if (false === $qd = $this->_getQueueOfChannel($queue) )
                throw new \RuntimeException(sprintf(
                    'Channel (%s) is not present when trying to release: (%s)'
                    , $queue ,\Poirot\Std\flatten($id)
                ));


            $qd->release($id, $queue);
        }
    }
Release an Specific From Queue By Removing It

@param iPayloadQueued|string $id
@param null|string           $queue

@return void
@throws exIOError