- 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
Start the Producer Apppcation
In ecppse, right cpck on the Producer.java source, and select Run As → Java Apppcation. Producer apppcation will start running and you ll see the output as follows −
Enter message:
Start the Consumer Apppcation
In ecppse, right cpck on the Consumer.java source, and select Run As → Java Apppcation. Consumer apppcation will start running and you ll see the output as follows −
Waiting for messages. To exit press CTRL+C
Send Message
In Producer console window, type Hi and press enter button to send the message.
Enter message: Hi
Receive Message
Verify in Consumer console window, the message is received.
Waiting for messages. To exit press CTRL+C Received = Hi
Send Quit as message to terminate the producer window session and terminate cpent window session.
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 to check the status. It will show messages enqueued and depvered.
Advertisements