[
https://issues.apache.org/jira/browse/CAMEL-20809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-20809.
---------------------------------
Resolution: Fixed
> camel-core: potential to reduce allocations
> -------------------------------------------
>
> Key: CAMEL-20809
> URL: https://issues.apache.org/jira/browse/CAMEL-20809
> Project: Camel
> Issue Type: Task
> Components: camel-core
> Affects Versions: 4.7.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.17.0
>
>
> There's a chance we could reduce or delay unnecessary allocations by not
> creating message headers [when the intention is just to check if headers are
> present|https://github.com/apache/camel/blob/main/core/camel-support/src/main/java/org/apache/camel/support/DefaultMessage.java#L288-L291].
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)