Skip to content

Commit 21b71e4

Browse files
authored
Merge branch 'main' into fix-update-test-dependencies
2 parents 4ba2b57 + a32bb4e commit 21b71e4

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

newrelic/api/message_transaction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def __init__(
5555
self.routing_key = routing_key
5656
self.exchange_type = exchange_type
5757
self.queue_name = queue_name
58+
self.destination_name = destination_name
5859
self.reply_to = reply_to
5960
self.correlation_id = correlation_id
6061

newrelic/hooks/messagebroker_kombu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ def wrap_consumer_recieve_callback(wrapped, instance, args, kwargs):
194194
source=wrapped,
195195
)
196196
created_transaction.__enter__()
197-
created_transaction.destination_name = destination_name
198197

199198
# Obtain consumer client_id to send up as agent attribute
200199
if hasattr(message, "channel") and hasattr(message.channel, "channel_id"):

0 commit comments

Comments
 (0)