gepur-it/rabbitmq-bundle

RabbitMQ connection bundle

Installs: 16 436

Dependents: 5

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

5.4.1 2021-11-30 11:16 UTC

README

Before composer require:

  1. Create yaml config file "rabbit_mq.yaml":
rabbit_mq:
  default_connection: default
  connections:
    default:
      host: '%env(RABBITMQ_HOST)%'
      port: '%env(RABBITMQ_PORT)%'
      login: '%env(RABBITMQ_LOGIN)%'
      password: '%env(RABBITMQ_PASS)%'
      vhost: '%env(RABBITMQ_VHOST)%'
  1. Config your .env:
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_LOGIN=guest
RABBITMQ_PASS=guest
RABBITMQ_VHOST=/