allthingssecurity commented on PR #30983:
URL: https://github.com/apache/camel/pull/30983#issuecomment-7221496042

   Thanks Claus, done in 93c7072c (and main merged in since):
   
   1. The pool key of an HTTPS client ends with `|HTTPS`, while MQTT and AMQPS 
keep sharing one key. One correction on the way: `matchesDeviceId` splits on 
`:`, so for `HostName:DeviceId|HTTPS` the device part was `DeviceId|HTTPS`; it 
now strips the suffix first, so `remove(deviceId)` also finds the HTTPS client 
and `remove(deviceId, connectionString)` removes both. Tests: HTTPS telemetry 
then TWIN over MQTT creates two clients (fails without the change), MQTT and 
AMQPS share one, and the pool removes an HTTPS client by device id.
   2. `doStart` fails for TWIN or BOTH with `protocol=HTTPS`, with the same 
message. The per-exchange check stays for the header; both are tested.
   3. Comment fixed.
   4. #30943 already put it in the `protocol` description on main, and I added 
a note to `azure-iothub-component.adoc`.
   
   Merging main (#30943): I kept its texts, except `contentType` (it no longer 
always sets UTF-8; it points to `contentEncoding`), and added to `sendTimeout` 
and `connectionString` what this PR changes.
   


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