essobedo commented on code in PR #7279:
URL: https://github.com/apache/camel/pull/7279#discussion_r861539985


##########
components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusConsumer.java:
##########
@@ -30,31 +30,34 @@
 import 
org.apache.camel.component.azure.servicebus.client.ServiceBusClientFactory;
 import 
org.apache.camel.component.azure.servicebus.client.ServiceBusReceiverAsyncClientWrapper;
 import 
org.apache.camel.component.azure.servicebus.operations.ServiceBusReceiverOperations;
+import org.apache.camel.spi.ExceptionHandler;
 import org.apache.camel.spi.Synchronization;
 import org.apache.camel.support.DefaultConsumer;
 import org.apache.camel.support.SynchronizationAdapter;
 import org.apache.camel.util.ObjectHelper;
 
 public class ServiceBusConsumer extends DefaultConsumer {
 
+    private static final String SERVICE_BUS_RECEIVED_MESSAGE = 
"ServiceBusReceivedMessage";

Review Comment:
   @davsclaus for now, if it is a constant (public static final field) defined 
in the constant class annotated with `@Metadata`, it will be considered as an 
header. If we need to improve it more please let me know. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to