I am writing an application that
- Polls the directory (Sprint Integration DSL flow)
- Once the file is available it will put in the rabbitmq queue
- Microservice listen to the stream RabbitMQ and process the file (this is written in Spring Cloud stream)
Now, I cannot figure out what is the best way to send the message to the RabbitMQ
from Spring Integration flow service. How can I use spring-cloud stream in the Spring-Integration to publish the message to the RabbitMQ