https://github.com/limitium/bonnie
https://github.com/limitium/bonnie
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/limitium/bonnie
- Owner: limitium
- Created: 2013-10-17T22:52:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-09T16:23:37.000Z (about 12 years ago)
- Last Synced: 2025-01-11T06:33:38.660Z (over 1 year ago)
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
$stdout.sync = true
require 'rubygems'
require 'bonnie/reply_worker'
worker = ReplyWorker.new 'amqp://log:pass@host/vhost'
worker.frontend 'exchange_name', 'queue.name'
worker.work do |delivery_info, properties, in_data|
{:worker_result=> in_data + 1 }
end