oscerd commented on code in PR #31125:
URL: https://github.com/apache/camel/pull/31125#discussion_r4740496682


##########
test-infra/camel-test-infra-azure-storage-queue/src/main/java/org/apache/camel/test/infra/azure/storage/queue/clients/AzureStorageClientUtils.java:
##########
@@ -44,10 +44,11 @@ public static QueueServiceClient getClient() {
         String endpoint;
 
         if (instanceType == null || 
instanceType.equals("local-azure-container")) {
-            endpoint = String.format("http://%s:%s/%s";, host, port, 
accountName);
+            // Floci AZ serves the Queue service on the port of its other 
services, under <account>-queue
+            endpoint = String.format("http://%s:%s/%s-queue";, host, port, 
accountName);

Review Comment:
   Good point, it does change for them. `camel infra run azure storage-queue` 
started Azurite, with the Queue service on port `10001` under 
`/devstoreaccount1`. It now starts Floci AZ, as the other Azure dev services 
already did, and Floci AZ serves everything on port `4577`, with the Queue 
service under `/devstoreaccount1-queue`. The account name and key stay the same.
   
   The component itself always builds 
`https://<account>.queue.core.windows.net`, so a route only reaches the dev 
service through a `QueueServiceClient` that the user builds and sets in 
`serviceClient`. That client needs the new address, 
`http://localhost:4577/devstoreaccount1-queue`. With the old one on port 4577 
it would reach the Blob service of Floci AZ instead.
   
   I added a note to the 4.25 upgrade guide with both addresses, in 7a04f69. 
The Blob dev service still runs on Azurite, so nothing changes there.
   
   _Claude Code on behalf of Andrea Cosentino_
   



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