Skip to content

Conversation

@Tobion
Copy link
Contributor

@Tobion Tobion commented Oct 30, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets Fix #32077
License MIT
Doc PR

private $logger;

/**
* @param RetryStrategyInterface[] $retryStrategies Retry strategies for each receiver
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outdated

++$retryCount;
$delay = $retryStrategy->getWaitingTime($envelope);
if (null !== $this->logger) {
$this->logger->error('Error thrown while handling message {class}. Dispatching for retry #{retryCount} using {delay} ms delay. Error: "{error}"', $context + ['retryCount' => $retryCount, 'delay' => $delay, 'error' => $throwable->getMessage(), 'exception' => $throwable]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix $context

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dispatching -> sending

@Tobion Tobion closed this Oct 30, 2019
@Tobion
Copy link
Contributor Author

Tobion commented Oct 30, 2019

reopened in #34185

@nicolas-grekas nicolas-grekas deleted the messenger-refactoring branch October 30, 2019 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Messenger] refactoring to get rid of SendersLocatorInterface::getSenderByAlias

3 participants