PHPackages                             pccomponentes/messenger-retry-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. pccomponentes/messenger-retry-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

pccomponentes/messenger-retry-bundle
====================================

Symfony Bundle for retry policy in Symfony Messenger

v2.1.0(1y ago)044.4k↓27.9%MITPHPPHP ^8.0

Since Aug 11Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/PcComponentes/messenger-retry-bundle)[ Packagist](https://packagist.org/packages/pccomponentes/messenger-retry-bundle)[ RSS](/packages/pccomponentes-messenger-retry-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (10)Used By (0)

Symfony Bundle for retry policy in Symfony Messenger
====================================================

[](#symfony-bundle-for-retry-policy-in-symfony-messenger)

This is a Bundle to add the ability to choose the retry policy based on the type of message you are trying to process.

**Note: Messages should ultimately inherit from [Message](https://github.com/PcComponentes/ddd/blob/master/src/Util/Message/Message.php)**.

Installation
------------

[](#installation)

1. Install via [composer](https://getcomposer.org/)

    ```
    composer require pccomponentes/messenger-retry-bundle
    ```
2. Write the bundle configuration file (`config/packages/messenger_retry.yaml`) indicating the retry policies for each message class and the action you want to execute in each of them. An example of its content is:

    ```
    messenger_retry:
      - max_retries: 5
        delay_milliseconds: 2000
        multiplier: 2
        max_delay_milliseconds: 2800000
        msg_types:
          - PcComponentes\Ddd\Application\Command: auto
        # - PcComponentes\Ddd\Application\Command: always_retry
        # - PcComponentes\Ddd\Application\Command: never_retry
    ```

    This file will be modified to add or remove any retry policies needed for the project it is used in.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance70

Regular maintenance activity

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Total

5

Last Release

435d ago

Major Versions

v1.1.0 → v2.0.02022-10-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c4eb3322c15a9344e9c086a7de11c3204bf5aab5321b562bf9193f5ee8cd420?d=identicon)[zoilomora](/maintainers/zoilomora)

---

Top Contributors

[![calmohallag](https://avatars.githubusercontent.com/u/34070946?v=4)](https://github.com/calmohallag "calmohallag (8 commits)")[![FranMoraton](https://avatars.githubusercontent.com/u/37687719?v=4)](https://github.com/FranMoraton "FranMoraton (3 commits)")[![zoilomora](https://avatars.githubusercontent.com/u/4701956?v=4)](https://github.com/zoilomora "zoilomora (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pccomponentes-messenger-retry-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pccomponentes-messenger-retry-bundle/health.svg)](https://phpackages.com/packages/pccomponentes-messenger-retry-bundle)
```

###  Alternatives

[symfony/doctrine-messenger

Symfony Doctrine Messenger Bridge

53186.7M156](/packages/symfony-doctrine-messenger)[symfony/amqp-messenger

Symfony AMQP extension Messenger Bridge

29555.6M59](/packages/symfony-amqp-messenger)[symfony/redis-messenger

Symfony Redis extension Messenger Bridge

21846.4M33](/packages/symfony-redis-messenger)[zenstruck/messenger-monitor-bundle

Batteries included UI to monitor your Messenger workers, transports, schedules, and messages.

261561.9k5](/packages/zenstruck-messenger-monitor-bundle)[symfony/amazon-sqs-messenger

Symfony Amazon SQS extension Messenger Bridge

4612.5M15](/packages/symfony-amazon-sqs-messenger)[jwage/phpamqplib-messenger

Symfony messenger transport for the php-amqplib/php-amqplib library.

84149.7k1](/packages/jwage-phpamqplib-messenger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
