Skip to content

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

RMQ-Flag

This package for handling RabbitMQ messages in the Flagstudio Services

  • add environment variables
###RABBITMQRABBITMQ_EXCHANGE_NAME=RABBITMQ_EXCHANGE_TYPE=fanoutRABBITMQ_QUEUE=RABBITMQ_HOST=RABBITMQ_PORT=5672RABBITMQ_USER=RABBITMQ_PASSWORD=RABBITMQ_VHOST=/RABBITMQ_DSN=amqp://
  • export config file
php artisan vendor:publish --provider="Flagstudio\RmqFlag\Providers\RmqFlagServiceProvider" --tag="config"
  • add class which implements RmqMessageHandleExecutable interface for handling message by action value to rmq-flag.ations array
# /config/rmq-flag.phpreturn [
#...'actions' => [
# for example'update_users' => \App\Actions\Users\FromAuthUpdateUserAction::class,
]
#...
];

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages