You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/29 07:35:14 UTC

[GitHub] [camel] davsclaus commented on a diff in pull request #7279: CAMEL-17803: Fix/reimplement automatic complete/abandon of messages

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-unsubscribe@camel.apache.org

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