I'm currently designing a microservice architecture for work. For now, I'm having my initial application issue POST requests to an Ocelot API Gateway. This API Gateway should forward the requests to a RabbitMQ exchange, which then transfers them to a consumer queue. It's from this queue that I will issue requests between my queue and various microservices.
In fewer words: Main -> API Gateway -> Message Exchange -> Message Queue -> Microservices
My question is this: how do I produce a message to the exchange from the Ocelot API Gateway? From what I understand, this is more for rewriting/rerouting requests. I've tried finding instances of handling RabbitMQ via middleware, but nothing from my few findings quite matched what I'm looking for.