Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.26 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.26 KB

CLI chat application using RabbitMQ

Description

a minimal command-line chat application written in JAVA and using RabbitMQ.

Features

  • Distributed architecture (client-server).
  • messages history (for broadcasted messages).
  • Private and broadcast messages.
  • User-friendly and simple usage.

Requirements

How to run

Before starting the application, run your rabbitMQ server

$ rabbitmq-server   

then, start the application server with the provided shell script

$ ./startServer.sh  

now you can run as many client as you want using the provided shell script

$ ./startClient.sh  

How to use

   --b <message>        : to broadcast message to all connected clients    
   --p <name> <message> : to send a private message to a specific client     
   --q                  : to leave the chat    
   --h                  : to display help