summaryrefslogtreecommitdiff
path: root/src/rabbit_basic.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_basic.erl')
-rw-r--r--src/rabbit_basic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl
index f9a8ee1d..3cf73e80 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -118,7 +118,7 @@ message(ExchangeName, RoutingKey,
{ok, #basic_message{
exchange_name = ExchangeName,
content = strip_header(DecodedContent, ?DELETED_HEADER),
- guid = rabbit_guid:guid(),
+ id = rabbit_guid:guid(),
is_persistent = is_message_persistent(DecodedContent),
routing_keys = [RoutingKey |
header_routes(Props#'P_basic'.headers)]}}