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 ce4f818d..761b3863 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -61,7 +61,7 @@ publish(Delivery = #delivery{
delivery(Mandatory, Immediate, Txn, Message) ->
#delivery{mandatory = Mandatory, immediate = Immediate, txn = Txn,
- message = Message}.
+ sender = self(), message = Message}.
message(ExchangeName, RoutingKeyBin, ContentTypeBin, BodyBin) ->
{ClassId, _MethodId} = rabbit_framing:method_id('basic.publish'),