Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sjednac/spring-rabbitmq-chat

A simple chat application with a RabbitMQ backend.
https://github.com/sjednac/spring-rabbitmq-chat

java rabbitmq spring spring-boot

Last synced: 3 months ago
JSON representation

A simple chat application with a RabbitMQ backend.

Awesome Lists containing this project

README

        

# Spring RabbitMQ Chat

A simple chat application based on **Spring Boot** and **RabbitMQ**.

## Command Line Interface

Make sure that the `cli` profile is turned on. You can spawn several chat clients by passing a distinct queue name on the command line:

session1> ./gradlew -Dapp.settings.rabbit.queue=chat.Q.dev.MessageSubscriber1.Message run
session2> ./gradlew -Dapp.settings.rabbit.queue=chat.Q.dev.MessageSubscriber2.Message run

Don't forget to [setup](src/main/resources/application.yml) your **RabbitMQ** connection first.