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


##########
components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeConsumer.java:
##########
@@ -136,6 +138,17 @@ private Queue<Exchange> createBatchExchangesFromPath(final 
DataLakeFileSystemCli
         return exchanges;
     }
 
+    /**
+     * Whether the exception is the answer of the service to a file that does 
not exist. Reading a file goes through the
+     * blob endpoint ({@code DataLakeFileClient.openInputStream} reads with a 
{@code BlockBlobClient} and does not
+     * translate its exception), so a missing file is a {@link 
BlobStorageException}, not a
+     * {@link DataLakeStorageException}.
+     */
+    private static boolean isNotFound(final Exception e) {

Review Comment:
   _Claude Code on behalf of davsclaus_
   
   Done: `isNotFound` now takes an `HttpResponseException`, the type of the 
multi-catch at both call sites. (50e44ebc4233)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to