ramu11 commented on code in PR #30481:
URL: https://github.com/apache/camel/pull/30481#discussion_r4640800814


##########
components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobConsumerIT.java:
##########
@@ -248,12 +380,21 @@ public void configure() {
 
                 // if regex is set then prefix should have no effect
                 from("azure-storage-blob://cameldev/" + batchContainerName
-                     + "?prefix=aaaa&regex=" + regex)
+                     + "?prefix=aaaa&regex=" + regex + 
"&maxMessagesPerPoll=2&maxResultsPerPage=3")
                         .idempotentConsumer(body(), new 
MemoryIdempotentRepository())
                         .to("mock:resultRegex");
 
-                from("azure-storage-blob://cameldev/" + prefixContainerName + 
"?prefix=" + prefix)
+                from("azure-storage-blob://cameldev/" + prefixContainerName + 
"?prefix=" + prefix
+                     + 
"&maxMessagesPerPoll=1&maxResultsPerPage=1&deleteAfterRead=true")
                         .to("mock:resultPrefix");
+
+                from("azure-storage-blob://cameldev/" + limitedContainerName
+                     + 
"?maxMessagesPerPoll=2&maxResultsPerPage=2&deleteAfterRead=true&initialDelay=5000&delay=100")

Review Comment:
   Addressed in commit 6bd2f6a6386a. Updated limitedBlobTest to use 
autoStartup(false) and explicitly start the route after all five blobs have 
been uploaded. The route is stopped in a finally block to ensure cleanup.



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