ruby-amqp/bunny — pull request #64 by jschwertfeger (2012-11-21 22:07:44+00:00)
Title: Added support for exchange-to-exchange binding (RabbitMQ extension)

Includes passing specs for the new functionality.

However, note that I've had the following 3 specs failing when running against RabbitMQ 3.x even before doing my extensions:

```
Failures:

1) Exchange should be able to return an undeliverable message
Failure/Error: ret_msg = @b.returned_message
Bunny::ConnectionError:
No connection to server
# ./lib/bunny/client.rb:135:in `next_frame'
# ./lib/qrack/client.rb:109:in `next_payload'
# ./lib/qrack/client.rb:137:in `returned_message'
# ./spec/spec_09/exchange_spec.rb:178:in `block (2 levels) in '

2) Exchange should be able to return a message that exceeds maximum frame size
Failure/Error: ret_msg = @b.returned_message
Bunny::ConnectionError:
No connection to server
# ./lib/bunny/client.rb:135:in `next_frame'
# ./lib/qrack/client.rb:109:in `next_payload'
# ./lib/qrack/client.rb:137:in `returned_message'
# ./spec/spec_09/exchange_spec.rb:187:in `block (2 levels) in '

3) Queue should be able to pop a message where body length exceeds max frame size
Failure/Error: msg = q.pop[:payload]
Bunny::ProtocolError:
Error getting message from queue test1
# ./lib/bunny/queue.rb:184:in `pop'
# ./spec/spec_09/queue_spec.rb:111:in `block (2 levels) in '

Finished in 40.5 seconds
65 examples, 3 failures

Failed examples:

rspec ./spec/spec_09/exchange_spec.rb:175 # Exchange should be able to return an undeliverable message
rspec ./spec/spec_09/exchange_spec.rb:183 # Exchange should be able to return a message that exceeds maximum frame size
rspec ./spec/spec_09/queue_spec.rb:107 # Queue should be able to pop a message where body length exceeds max frame size
```