SPRING BOOT MICROSERVICES RABBITMQ | CANNOT SEND A MESSAGE

8 views
Skip to first unread message

Sercan Noyan Germiyanoglu

unread,
Jul 29, 2022, 10:03:32 AM7/29/22
to rabbitmq-discuss
I tried to create a Spring Boot Microservices. I wanted ot send a message from advertisement service to report service through RabbitMq running in Docker but I cannot see any information about RabbitMq. I think it couldn't work. How can I fix it?


rabbitTemplate.convertAndSend(queue.getName(),advertisementDto);

I run rabbitmq in docker through this command (```docker-compose build -d```). I couldn't find where the error is. Can you help me how to solve it?
Here is my link : https://github.com/Rapter1990/SpringBootMicroservices/blob/master/advertisement-service/src/main/java/com/springbootmicroservices/advertisement/service/impl/MessageServiceImpl.java
Reply all
Reply to author
Forward
0 new messages