Skip to content

Commit

Permalink
Add routing key
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Dec 5, 2024
1 parent 215e1ea commit 6ae5d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Elastic.Apm/Api/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// See the LICENSE file in the project root for more information

using System.Collections.Generic;
using System.Text.Json.Serialization;
using Elastic.Apm.Api.Constraints;

namespace Elastic.Apm.Api
Expand Down Expand Up @@ -32,6 +33,7 @@ public class Message
/// <summary>
/// optional routing key of the received message as set on the queuing system, such as in RabbitMQ.
/// </summary>
[JsonPropertyName("routing_key")]
public string RoutingKey { get; set; }
}

Expand Down

0 comments on commit 6ae5d35

Please sign in to comment.