diff options
| author | Alvaro Videla <videlalvaro@gmail.com> | 2013-12-19 23:32:52 +0100 |
|---|---|---|
| committer | Alvaro Videla <videlalvaro@gmail.com> | 2013-12-19 23:32:52 +0100 |
| commit | f59e3eb920d82dc52cb3f467dabb2e418bc45f5e (patch) | |
| tree | 505916373b1c4125325fb7f3751d2f84fa72fb42 /src | |
| parent | dd6f5a53b014dbf6b1fb1090c55827f7cdc9eeac (diff) | |
| download | rabbitmq-server-git-f59e3eb920d82dc52cb3f467dabb2e418bc45f5e.tar.gz | |
fixes handle_expand_shortcuts
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( |
