diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-07-09 12:21:59 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-07-09 12:21:59 +0100 |
commit | 790be96b599b1089a86a0941aa9b07f5c38a13f9 (patch) | |
tree | 18e5ddf346d4637c70f0568118a5d6cf8d5c3b74 /src/rabbit_channel.erl | |
parent | 9a23f57b495dd616671880dcdab841b174766a82 (diff) | |
download | rabbitmq-server-790be96b599b1089a86a0941aa9b07f5c38a13f9.tar.gz |
Don't change the signature of ensure_content_decoded.
Diffstat (limited to 'src/rabbit_channel.erl')
-rw-r--r-- | src/rabbit_channel.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 55b5d875..213b6624 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -414,7 +414,8 @@ handle_method(#'basic.publish'{exchange = ExchangeNameBin, Exchange = rabbit_exchange:lookup_or_die(ExchangeName), %% We decode the content's properties here because we're almost %% certain to want to look at delivery-mode and priority. - DecodedContent = rabbit_binary_parser:ensure_content_decoded(Content), + DecodedContent = rabbit_binary_parser:ensure_content_decoded( + Content, rabbit_framing_amqp_0_9_1), IsPersistent = is_message_persistent(DecodedContent), Message = #basic_message{exchange_name = ExchangeName, routing_key = RoutingKey, |