diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index d2f5527726..9eb77c326a 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -836,14 +836,10 @@ handle_method(#'basic.recover_async'{requeue = true}, OkFun = fun () -> ok end, ok = fold_per_queue( fun (QPid, MsgIds, ok) -> - %% The Qpid python test suite incorrectly assumes - %% that messages will be requeued in their original - %% order. To keep it happy we reverse the id list - %% since we are given them in reverse order. rabbit_misc:with_exit_handler( OkFun, fun () -> rabbit_amqqueue:requeue( - QPid, lists:reverse(MsgIds), self()) + QPid, MsgIds, self()) end) end, ok, UAMQ), ok = notify_limiter(Limiter, UAMQ), |
