Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.6.0
-
None
-
Unknown
Description
I noticed some inconsistency when adding native support for Twilio in Camel Quarkus.
Consider the following URI:
twilio://incoming-phone-number/create?phoneNumber=RAW(+15005550006)
Turns out that this leads to the phoneNumber property binding being done reflectively instead of via the configurer.
This problem is that ignoreCase is always false here:
Hence the case logic attempts to match on the exact parameter name, and there is no case block for the camel cased 'phoneNumber'.
The obvious workaround is to name the URI param 'phonenumber' or 'PhoneNumber' but the camel-twilio docs all refer to camel cased parameter names.
Attachments
Issue Links
- is related to
-
CAMEL-15737 AS2 component URI parameter resolution requires reflection
- Resolved