This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new a290693bd4a Add ACTIVE_SPAN mapping to ExchangePropertyKey
a290693bd4a is described below

commit a290693bd4aadcf188b1c0947a531a26e6c1f73c
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Oct 3 11:23:36 2024 +0200

    Add ACTIVE_SPAN mapping to ExchangePropertyKey
---
 core/camel-api/src/main/java/org/apache/camel/ExchangePropertyKey.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/core/camel-api/src/main/java/org/apache/camel/ExchangePropertyKey.java 
b/core/camel-api/src/main/java/org/apache/camel/ExchangePropertyKey.java
index 403a6b03739..fb04bedf8fa 100644
--- a/core/camel-api/src/main/java/org/apache/camel/ExchangePropertyKey.java
+++ b/core/camel-api/src/main/java/org/apache/camel/ExchangePropertyKey.java
@@ -89,6 +89,8 @@ public enum ExchangePropertyKey {
 
     public static ExchangePropertyKey asExchangePropertyKey(String name) {
         switch (name) {
+            case Exchange.ACTIVE_SPAN:
+                return ACTIVE_SPAN;
             case Exchange.AGGREGATED_COMPLETED_BY:
                 return AGGREGATED_COMPLETED_BY;
             case Exchange.AGGREGATED_CORRELATION_KEY:

Reply via email to