diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-04-11 12:41:32 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-04-11 12:41:32 +0100 |
commit | f978bbb345e7aff5b2cb63138f0ec13789ea1a3b (patch) | |
tree | cc74d0b3c8e4049dea4f064e7870ce5b41d8af56 /src/rabbit_channel.erl | |
parent | 69906db00e1c032f44292658e804f02a96f7184c (diff) | |
parent | 90629640580f5ec1300ef52db73231696b885e39 (diff) | |
download | rabbitmq-server-f978bbb345e7aff5b2cb63138f0ec13789ea1a3b.tar.gz |
Merge in default
Diffstat (limited to 'src/rabbit_channel.erl')
-rw-r--r-- | src/rabbit_channel.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 0c12614c..bfd779ee 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -281,6 +281,7 @@ handle_cast({deliver, ConsumerTag, AckRequired, true -> deliver; false -> deliver_no_ack end, State), + rabbit_trace:tap_trace_out(Msg, ConsumerTag), noreply(State1#ch{next_tag = DeliveryTag + 1}); handle_cast(emit_stats, State = #ch{stats_timer = StatsTimer}) -> @@ -604,6 +605,7 @@ handle_method(#'basic.publish'{exchange = ExchangeNameBin, end, case rabbit_basic:message(ExchangeName, RoutingKey, DecodedContent) of {ok, Message} -> + rabbit_trace:tap_trace_in(Message), {RoutingRes, DeliveredQPids} = rabbit_exchange:publish( Exchange, @@ -672,6 +674,7 @@ handle_method(#'basic.get'{queue = QueueNameBin, true -> get_no_ack; false -> get end, State), + rabbit_trace:tap_trace_out(Msg, none), ok = rabbit_writer:send_command( WriterPid, #'basic.get_ok'{delivery_tag = DeliveryTag, |