Download the PHP package mrandmrssmith/idempotent-symfony-messenger-consumer-bundle without Composer
On this page you can find all versions of the php package mrandmrssmith/idempotent-symfony-messenger-consumer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrandmrssmith/idempotent-symfony-messenger-consumer-bundle
More information about mrandmrssmith/idempotent-symfony-messenger-consumer-bundle
Files in mrandmrssmith/idempotent-symfony-messenger-consumer-bundle
Package idempotent-symfony-messenger-consumer-bundle
Short Description idempotent-consumer-bundle
License MIT
Informations about the package idempotent-symfony-messenger-consumer-bundle
Symfony Messenger idempotent consumer bundle
Bundle for symfony messenger which provide functionality to make your consumer idempotent.
It based on mrandmrssmith/idempotent-consumer-bundle
and provide integration with symfony messenger.
You can you package mrandmrssmith/idempotent-consumer-doctrine-persistence-bundle
to provide persistence layer using doctrine.
It uses messenger events to handle incoming and processed or failed messages.
Installation
Add this package to your project
Usage
You have to remember about implement IdempotentKeyResolver. Interface is in core bundle mrandmrssmith/idempotent-consumer-bundle
By default it will try check for all messages.
If you want, you can restrict the action so that it checks only messages from a particular transport or messages that are instances of a class/interface
To do this you need overwrite value of some properties in bundle config yaml file mms_idempotent_consumer_symfony_messenger.yaml.
-
Configure supported messages
- Configure supported transports
if you configure both in first order it will check transport then message.
- you can implement your own voter and replace default voter
MrAndMrsSmith\IdempotentConsumerSymfonyMessengerBundle\Voter\WantToCheckMessageVoter
Support
:hugs: Please consider contributing if you feel you can improve this package, otherwise submit an issue via the GitHub page and include as much information as possible, including steps to reproduce, platform versions and anything else to help pinpoint the root cause.
Contributing
:+1: If you do contribute, we thank you, but please review the CONTRIBUTING document to help us ensure the project is kept consistent and easy to maintain.
Versioning
:hourglass: This project will follow Semantic Versioning 2.0.0.
Changes
:hammer_and_wrench: All project changes/releases are noted in the GitHub releases page and in the CHANGELOG file.
Following conventions laid out by keep a changelog.
All versions of idempotent-symfony-messenger-consumer-bundle with dependencies
ext-json Version *
symfony/messenger Version >=4.4
symfony/serializer Version >=4.4
symfony/property-access Version >=4.4
mrandmrssmith/idempotent-consumer-bundle Version ^1.0.0