Match Pika example in output

This is what test.py expects
This commit is contained in:
Michael Klishin 2013-07-23 17:43:14 +04:00
parent ed8aa9fb3a
commit 8f07ab696e

View File

@ -22,6 +22,8 @@ class FibonacciServer
n = payload.to_i
r = self.class.fib(n)
puts " [.] fib(#{n})"
@x.publish(r.to_s, :routing_key => properties.reply_to, :correlation_id => properties.correlation_id)
end
end
@ -44,4 +46,6 @@ begin
rescue Interrupt => _
ch.close
conn.close
exit(0)
end