Akki
Akki

Reputation: 774

Using rabbitmq to send String/Custom Object from one spring boot application to another

My requirement is to for starters send a string from one spring-boot application to another using AMQP.

I am new to it and I have gone through this spring-boot guide, so i know the basic fundamentals of Queue, Exchange, Binding, Container and listener.

So, above guide shows the steps when amqp is received in same application.

I am a little confused on where to start if I want to achieve above type of communication between 2 different spring-boot applications.

What are the properties needed for that, etc.

Let me know if any details required.

Upvotes: 1

Views: 432

Answers (1)

Edward Aung
Edward Aung

Reputation: 3522

Just divide the application into two:

  1. One without Receiver and ...
  2. Another without Sender

Make sure your application and configuration etc stays the same. With Spring boot's built-in RabbitMQ, you will be able to run it alright.

Next step is to call sender as and when needed from your business logic.

Upvotes: 1

Related Questions