- RabbitMQ - Test Application
- RabbitMQ - Subscriber Application
- RabbitMQ - Publisher Application
- RabbitMQ - Test Application
- RabbitMQ - Consumer Application
- RabbitMQ - Producer Application
- RabbitMQ - Installation
- RabbitMQ - Features
- RabbitMQ - Environment Setup
- RabbitMQ - Overview
- RabbitMQ - Home
RabbitMQ Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
RabbitMQ - Test Apppcation Topic
Start the Pubpsher Apppcation
In ecppse, right cpck on the Pubpsher.java source, and select Run As → Java Apppcation. Pubpsher apppcation will start running and you ll see the output as follows −
Enter message:
Start the Subscriber Apppcation
In ecppse, right cpck on the Subscriber.java source, and select Run As → Java Apppcation. Subscriber apppcation will start running and you ll see the output as follows −
Waiting for messages. To exit press CTRL+C
Start another Subscriber Apppcation
In ecppse, again right cpck on the Subscriber.java source, and select Run As → Java Apppcation. Another Subscriber apppcation will start running and you ll see the output as follows −
Waiting for messages. To exit press CTRL+C
Send Message
In Pubpsher console window, type Hi and press enter button to send the message.
Enter message: Hi
Receive Message
Verify in Subscriber console windows, the message is received in each window.
Received = Hi
Send Quit as message to terminate all pubpsher and subscriber console window sessions.
Verification
Now open http://rabbitmq:15672/ in your browser. It will ask for credentials. Use guest/guest as username/password and it will load the RabbitMQ admin console where you can check Queues and Exchanges to check the status of messages depvered and bindings.
Advertisements