openaev
openaev copied to clipboard
RabbitMQ Configuration for External Injectors
Description
As a reminder : OpenAEV API communicates with RabbitMq and injectors communicate with RabbitMq as well
How it works:
- Injector starts and registers with OpenAEV API
- OpenAEV returns RabbitMQ connection config (from application.properties)
- Injector uses this config to connect to RabbitMQ
The problem: When OpenAEV and RabbitMQ run in the same Docker stack, they communicate via localhost. But when an injector runs in a separate stack, it receives the localhost URL so it cannot communicate with RabbitMQ.
Environment
- OpenAEV version: 2.0.7