Match Pika example in output
This is what test.py expects
This commit is contained in:
parent
ed8aa9fb3a
commit
8f07ab696e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user