RabbitMQ Exchange types - Put them into practice
RabbitMQ - Build Quorum Queue in Cluster
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=checkin --server.port=8080
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=finance --server.port=8081
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=tower --server.port=8082
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=weather --server.port=8083
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=airplane --server.port=8085 --flight.code=flight.eu.U2571
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=airplane --server.port=8086 --flight.code=flight.eu.U2771
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=airplane --server.port=8087 --flight.code=flight.uk.FR691
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=airplane --server.port=8088 --flight.code=flight.us.UA221
curl -H "Content-type:application/json" -X POST -d '{"name":"Carl","surname":"Baker","flightNumber":"U2571","seat":"15A"}' http://10.21.40.14:8080/send
curl -H "Content-type:application/json" -X POST -d '{"flightCode":"flight.eu.U2771","currency":"EURO"}' http://10.21.40.14:8081/send
curl -H "Content-type:application/json" -X POST -d '{"pilot":"William","message":"Ready for take off"}' http://10.21.40.14:8082/send
curl -H "Content-type:application/json" -X POST -d '{"temp":29,"windSpeed":5,"description":"Sunny"}' http://10.21.40.14:8083/send
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=cluster,weather --server.port=8083
java -jar AirportRabbitMQ-1.0.0.jar --spring.profiles.active=cluster,airplane --server.port=8089 --flight.code=flight.private.PR777