davsclaus opened a new pull request, #24870:
URL: https://github.com/apache/camel/pull/24870

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   Fixes 2 medium-severity findings in `camel-azure-storage-queue` from 
CAMEL-24159 code review:
   
   - **Credential override guard** (`QueueComponent`): wrap the else branch 
with `if (credentialType == null)` so user-explicit credential type is not 
overridden when a `StorageSharedKeyCredential` bean is found in the registry.
   - **Idempotent queue creation** (`QueueOperations` + `QueueClientWrapper`): 
when `createQueue=true` on `sendMessage`, use `createIfNotExists()` instead of 
`create()` so repeated sends don't throw HTTP 409 Conflict when the queue 
already exists with different metadata.
   
   ## Test plan
   
   - [x] Module builds successfully: `cd 
components/camel-azure/camel-azure-storage-queue && mvn clean install`
   - [ ] Verify credential override guard preserves user-explicit 
`credentialType`
   - [ ] Verify sendMessage with createQueue=true succeeds on second call when 
queue already exists
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


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