[ 
https://issues.apache.org/jira/browse/CAMEL-26388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-26388 started by Adriano Machado.
-----------------------------------------------
> camel-util - URISupport.textBlockToSingleLine: fast path for a uri without 
> line breaks
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26388
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26388
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-core
>            Reporter: Adriano Machado
>            Assignee: Adriano Machado
>            Priority: Major
>
> Tier 1 item #4 of CAMEL\-25132. Every CamelContext.getEndpoint\(String\) runs 
> uri.lines\(\) with an AtomicBoolean, a StringJoiner and per\-line 
> concatenation, even for direct:foo \(about 12% of allocation in a 
> ProducerTemplate loop\). For a uri without \n or \r the result is exactly 
> uri.trim\(\), so return that directly.
> _Claude Code on behalf of Adriano Machado \(@ammachado\)_
> _This was generated by an AI agent and may contain inaccuracies. Please 
> verify before relying on it._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to