summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 44e1368460..6212d4f327 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -62,7 +62,7 @@
-record(listener, {node, protocol, host, port}).
--record(basic_message, {exchange_name, routing_key, content, persistent_key}).
+-record(basic_message, {exchange_name, routing_key, content, guid, is_persistent}).
-record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id}).
@@ -134,7 +134,8 @@
#basic_message{exchange_name :: exchange_name(),
routing_key :: routing_key(),
content :: content(),
- persistent_key :: maybe(pkey())}).
+ guid :: guid(),
+ is_persistent :: bool()}).
-type(message() :: basic_message()).
%% this really should be an abstract type
-type(msg_id() :: non_neg_integer()).