diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index ccd7cb040c..9bd56d48ac 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -593,7 +593,10 @@ handle_expand_shortcuts(#'queue.unbind'{queue = QueueNameBin, State) -> {DestinationName, ActualRoutingKey} = expand_binding(queue, QueueNameBin, RoutingKey, State), - Method#'queue.bind'{queue = DestinationName, routing_key = ActualRoutingKey}. + Method#'queue.bind'{queue = DestinationName, routing_key = ActualRoutingKey}; +handle_expand_shortcuts(M, _State) -> + M. + check_not_default_exchange(#resource{kind = exchange, name = <<"">>}) -> rabbit_misc:protocol_error( |
