RetryStrategyLocator
final readonly class \
- 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).
Internal
Table of Contents
Interfaces
- ContainerInterface
Methods
Methods
get()
public
get(string $id) : mixed
Parameters
- $id : string
has()
public
has(string $id) : bool
Parameters
- $id : string