RetryStrategyLocator

final readonly class \TYPO3\CMS\Core\Messenger\RetryStrategyLocator

Implements
ContainerInterface

Builds the retry strategy of a transport from its configuration in $GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['transports'][<name>]['retry_strategy'].

Symfony's SendFailedMessageForRetryListener asks this container - keyed by transport (receiver) name - for the strategy to use. A transport without a "retry_strategy" configuration is not retryable, so a failed message is handed straight to the failure transport (or discarded when none is configured).

Table of Contents

Interfaces

ContainerInterface

Methods

get()  : mixed
has()  : bool

Methods

get()

public get(string $id) : mixed

Parameters

$id : string

has()

public has(string $id) : bool

Parameters

$id : string

Return values

bool
On this page