-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Gowri edited this page Dec 7, 2021
·
19 revisions
Async Events allows you to define and process events asynchronously. A common use case for this is to create webhooks (publishers) or relaying information into another system in real time.
- Magento
>= 2.3.6
- PHP
>= 7.0
- RabbitMQ (Recommended) otherwise see configuring to use DB
It is recommended that you install this module via composer. It is not published on packigist yet, therefore you will have to include the url of this git repository in your composer.json
Then run
composer require aligent/async-events
to require it as a dependency via composer
If you are using RabbitMQ, you need to make sure that a config for amqp
is present in your env.php
Enable the module with
bin/magento module:enable Aligent_AsyncEvents
bin/magento setup:upgrade
<preference for="Aligent\AsyncEvents\Service\AsyncEvent\NotifierFactoryInterface"
type="Aligent\AsyncEvents\Service\AsyncEvent\NotifierFactory" />
<type name="Aligent\AsyncEvents\Service\AsyncEvent\NotifierFactory">
<arguments>
<argument name="notifierClasses" xsi:type="array">
<item name="default" xsi:type="object">Aligent\AsyncEvent\Service\AsyncEvent\HttpNotifier</item>
</argument>
</arguments>
</type>