summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 5ebc82a2be..784c21b39d 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -64,7 +64,7 @@
-record(basic_message, {exchange_name, routing_key, content, persistent_key}).
--record(delivery, {mandatory, immediate, txn, message}).
+-record(delivery, {mandatory, immediate, txn, sender, message}).
%%----------------------------------------------------------------------------
@@ -140,6 +140,7 @@
#delivery{mandatory :: bool(),
immediate :: bool(),
txn :: maybe(txn()),
+ sender :: pid(),
message :: message()}).
%% this really should be an abstract type
-type(msg_id() :: non_neg_integer()).