camel-quarkus icon indicating copy to clipboard operation
camel-quarkus copied to clipboard

extensions-support httpclient: The BasicAuthCache alias may not be needed anymore when adopting http client >= 5.4

Open aldettinger opened this issue 1 year ago • 1 comments

Describe the feature here

Since https://issues.apache.org/jira/browse/HTTPCLIENT-2070, the BasicAuthCache is not using reflection anymore. So we should probably be able to remove this native alias: https://github.com/apache/camel-quarkus/blob/main/extensions-support/httpclient/runtime/src/main/java/org/apache/camel/quarkus/support/httpclient/graalvm/BasicAuthCacheAlias.java

Some context could be found in #3079

aldettinger avatar Jan 31 '24 10:01 aldettinger

The problem is that extensions-support-httpclient is still supporting components where httpclient 4.x is on the classpath.

Maybe we need a separate support extension for 4.x & 5.x as was hinted at in https://github.com/apache/camel-quarkus/issues/4703.

jamesnetherton avatar Jan 31 '24 10:01 jamesnetherton