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


##########
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:
   The header doc/metadata stuff that @essobedo did, does it also understand 
that a key can be for an exchange property and not as a header?
   
   But yeah its better anyway to move it there, as an end user may want for 
some special reason to get hold of that raw message.



-- 
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