https://github.com/fuseraft/rabbitrb_demo
https://github.com/fuseraft/rabbitrb_demo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuseraft/rabbitrb_demo
- Owner: fuseraft
- Created: 2024-02-23T01:20:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T01:26:38.000Z (over 2 years ago)
- Last Synced: 2025-02-02T17:28:47.731Z (over 1 year ago)
- Language: Ruby
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RabbitMQ Ruby Demo
A simple demonstration of subscribing to a queue and processing messages as they arrive.
### Getting Started
You'll need Ruby and Bundler installed. I am using Ruby 3.2.2 and Bundler 2.5.6 for the demo.
You will also need a [RabbitMQ](https://www.rabbitmq.com/docs/download) instance running.
Install the gems.
```shell
bundle install
```
Run the consumer application.
```shell
bundle exec ruby consumer.rb
```
Run the producer application.
```shell
bundle exec ruby producer.rb
```