You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/08/16 11:07:00 UTC
[jira] [Updated] (CAMEL-19753) Too many TLS connections opened when cxfrs calling a service via HTTPS
[ https://issues.apache.org/jira/browse/CAMEL-19753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-19753:
--------------------------------
Priority: Minor (was: Major)
> Too many TLS connections opened when cxfrs calling a service via HTTPS
> ----------------------------------------------------------------------
>
> Key: CAMEL-19753
> URL: https://issues.apache.org/jira/browse/CAMEL-19753
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.20.6
> Reporter: Xilai Dai
> Priority: Minor
> Attachments: TLS_connections.png, test-cxfrs-https.zip, test-server.zip
>
>
> Given a simple route:
> {code}
> from("timer:cTimer_1" + "?period=" + 1 + "&repeatCount=" + 200 + "&delay=" + 100)
> .setHeader(org.apache.camel.Exchange.HTTP_PATH, simple(""))
> .setHeader(org.apache.camel.Exchange.HTTP_METHOD, constant("GET"))
> .setHeader(org.apache.camel.Exchange.ACCEPT_CONTENT_TYPE, constant("application/json"))
> .inOut("cxfrs://" + "https://localhost:9001/services/B" + "?providers=#providers"
> + "&loggingFeatureEnabled=false")
> .to("log:cxfrs_eval_demo_service.cLog_1" + "?level=WARN" + "&showAll=" + true + "&multiline=" + true);
> {code}
> there are many TLS connections opened when running this route.
> whereas, the camel-http as a provider works as expected (only few TLS connections opened as expected)
> {code}
> from("timer:cTimer_2" + "?period=" + 1 + "&repeatCount=" + 200 + "&delay=" + 100)
> .setHeader("CamelHttpMethod", constant("GET"))
> .to("https://localhost:9001/services/B")
> .to("log:cxfrs_eval_demo_service.cLog_1" + "?level=WARN" + "&showAll=" + true + "&multiline=" + true);
> {code}
> Attached test-cxfrs-https.zip , test-server.zip for easily reproduce the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)