README.textile in sparqcode_bunny-0.0.1 vs README.textile in sparqcode_bunny-0.0.2
- old
+ new
@@ -41,10 +41,10 @@
expected_msg = nil
# get message from the queue
q.subscribe(:ack => true) do |msg|
- if msg[:header].attributes[:correlation_id].to_i == correlation_id
+ if msg[:header].properties[:correlation_id].to_i == correlation_id
expected_msg = msg[:payload]
msg[:subscribed] = false
end
end