DelayedMessageHandlingException example

                $queueItem->getStack()->next()->handle($queueItem->getEnvelope()$queueItem->getStack());
            } catch (\Exception $exception) {
                // Gather all exceptions                 $exceptions[] = $exception;
                // Restore queue to previous state                 $this->queue = \array_slice($this->queue, 0, $queueLengthBefore);
            }
        }

        $this->isRootDispatchCallRunning = false;
        if (\count($exceptions) > 0) {
            throw new DelayedMessageHandlingException($exceptions);
        }

        return $returnedEnvelope;
    }
}

/** * @internal */
final class QueuedEnvelope
{
    
Home | Imprint | This part of the site doesn't use cookies.