elasticsearch/elasticsearch-river-rabbitmq — pull request #20 by lalford (2013-04-29 19:06:25+00:00)
Title: A fix for issue #16

...same way it is being done for the earlier nextDelivery call on the consumer prior to the bulk requester getting involved. This fixes the problem of getting a shutdown exception that isn't handled and causes the thread to die without cleaning up the channel.