Commit Graph

42 Commits

Author SHA1 Message Date
Joseph Pawletko
f57cfeee67 add missing puts 2014-06-04 21:31:05 -04:00
Michael Klishin
a864a54c38 Use condition variable to be notified of RPC responses
Earlier version suffered from a race condition under load
that caused Bunny continuation to never unblock.
2013-08-26 01:45:05 +04:00
Michael Klishin
54f5aacfe6 Ruby tutorials are now available 2013-08-04 23:46:04 +04:00
Michael Klishin
7782ad07b5 Make the code match the narrative
Spotted by the Mr. Eagle Eye, @videlalvaro.
2013-08-04 19:03:26 +04:00
Michael Klishin
c1aa2d8e78 Now that Bunny::Connection#close performs clean shutdowns, these can go 2013-07-29 00:55:41 +04:00
Michael Klishin
2316088e96 Disable automatic connection recovery for Bunny tutorials
It's not needed and will help investigate obscure exceptions
in CI environment.
2013-07-25 09:57:39 +04:00
Michael Klishin
8f07ab696e Match Pika example in output
This is what test.py expects
2013-07-23 17:43:14 +04:00
Michael Klishin
ed8aa9fb3a Be explicit about return codes 2013-07-23 17:42:55 +04:00
Michael Klishin
e4d5eda858 Match output of the Pika version 2013-07-22 16:51:33 +04:00
Michael Klishin
4a55836e46 Use :manual_ack as a more descriptive name 2013-07-22 15:30:34 +04:00
Michael Klishin
95bdddb9d7 Make sure Bunny tutorials produce the same output as Pika 2013-07-22 11:04:03 +04:00
Michael Klishin
e5efe59ca0 Cosmetics, to be consistent with the tutorial 2 text 2013-07-19 08:49:51 +04:00
Michael Klishin
68d4d5b718 Make the consumer in Tutorial 1 wait for messages until interrupted
Just like the Java version does.
2013-07-19 06:34:52 +04:00
Michael Klishin
3ef59c7f26 Tutorial 6 ported to Bunny 2013-07-18 18:21:26 +04:00
Michael Klishin
6e2773c774 Tutorial 5 is ported to Bunny 2013-07-18 01:25:27 +04:00
Michael Klishin
bd8b41363b Tutorial 4 ported to Bunny 2013-07-18 00:16:10 +04:00
Michael Klishin
8b5971a1eb Tutorial 3 ported to Bunny 2013-07-17 23:11:23 +04:00
Michael Klishin
a1fca854ea Tutorial 2 ported to Bunny 2013-07-17 21:54:43 +04:00
Michael Klishin
e9d2c78e0a Cosmetics 2013-07-17 21:54:25 +04:00
Michael Klishin
e66cf5775e Tutorial 1 code ported to Bunny 2013-07-17 18:21:48 +04:00
Michael Klishin
b1d09e3def README for the new Bunny-based version 2013-07-17 18:11:41 +04:00
Michael Klishin
2ec87888cb ruby => ruby-amqp
ruby should be done with Bunny 0.9 which is much easier to use
for beginners.
2013-07-17 18:07:03 +04:00
Pavel Drobushevich
961b21badd Message always publish to localhost. Reuse base 'channel' method to publish and subscribe on one instance (via change connection host to not localhost). 2012-07-18 18:30:26 +03:00
Marek Majkowski
b0a44e3b4e Proper SIGINT handling from ruby rpc_server 2011-07-07 17:01:28 +01:00
Michael S. Klishin
c74ef4b6b6 Recommend Windows users to go with JRuby
Signed-off-by: Michael S. Klishin <michael@novemberain.com>
2011-05-24 10:23:37 +04:00
Marek Majkowski
14d16f5be2 Use real urls, not bit.ly links 2011-05-19 10:29:01 +02:00
Marek Majkowski
64d7515a1c Amqp gem must be at least 0.8.0.rc12 2011-05-19 10:29:01 +02:00
Marek Majkowski
1bbec48c77 Cosmetic: minor changes to ruby readme 2011-05-19 10:29:01 +02:00
Jakub Šťastný
c9bb924a77 Ups, fixed links, there shan't be any Ruby-specific links. 2011-05-19 01:23:21 -07:00
Michael S. Klishin
f92211d054 Link to amqp gem GitHub repository as well as documentation site 2011-05-18 13:44:15 +04:00
Jakub Stastny aka botanicus
76cb038071 Whops, I forgot {:ack => true}. 2011-05-18 11:16:30 +02:00
Michael S. Klishin
01af1f7610 Prefer AMQP::Channel#default_exchange 2011-05-18 13:10:23 +04:00
Jakub Stastny aka botanicus
2bf633a09b Use 0.8.pre. 2011-05-18 10:26:50 +02:00
Jakub Stastny aka botanicus
2d91ef20b5 Ruby: RPC examples. 2011-05-03 11:19:53 +02:00
Jakub Stastny aka botanicus
9f5c3d0789 Ruby: added send.rb and worker.rb. 2011-05-03 05:00:38 +02:00
Jakub Stastny aka botanicus
72b4732564 Ruby: receive_logs.rb, receive_logs_direct.rb and receive_logs_topic.rb. 2011-05-03 04:48:37 +02:00
Jakub Stastny aka botanicus
4f55a4fcbf Ruby: receive.rb 2011-05-03 04:30:15 +02:00
Jakub Stastny aka botanicus
db237acaa3 README for the Ruby examples. 2011-05-03 04:18:58 +02:00
Jakub Stastny aka botanicus
d83ca8fadc Ruby: new_task.rb, ARGV fix. 2011-05-03 04:14:32 +02:00
Jakub Stastny aka botanicus
f5ad3b0e92 Ruby: emit_log_topic.rb 2011-05-03 04:00:18 +02:00
Jakub Stastny aka botanicus
f91fe99050 Ruby: emit_log_direct.rb 2011-05-03 03:55:30 +02:00
Jakub Stastny aka botanicus
6465bd1855 Example emit_log in Ruby. 2011-05-03 03:41:41 +02:00