Configured publishing of new short URL events in RabbitMQ

This commit is contained in:
Alejandro Celaya
2022-07-24 11:07:20 +02:00
parent 405c6de591
commit fc6b4c12b2
4 changed files with 21 additions and 7 deletions

View File

@@ -98,6 +98,7 @@ return [
'em',
ShortUrl\Resolver\PersistenceShortUrlRelationResolver::class,
Service\ShortUrl\ShortCodeUniquenessHelper::class,
EventDispatcherInterface::class,
],
Visit\VisitsTracker::class => [
'em',

View File

@@ -28,7 +28,7 @@ return [
EventDispatcher\UpdateGeoLiteDb::class,
],
EventDispatcher\Event\ShortUrlCreated::class => [
EventDispatcher\Mercure\NotifyNewShortUrlToMercure::class,
// EventDispatcher\Mercure\NotifyNewShortUrlToMercure::class,
EventDispatcher\RabbitMq\NotifyNewShortUrlToRabbitMq::class,
],
],