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 2021/11/18 11:25:00 UTC

[jira] [Resolved] (CAMEL-14472) camel-core - Optimize use HashMap for exchange properties

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

Claus Ibsen resolved CAMEL-14472.
---------------------------------
    Resolution: Fixed

We have since optimized internally the exchange and how properties are stored

> camel-core - Optimize use HashMap for exchange properties
> ---------------------------------------------------------
>
>                 Key: CAMEL-14472
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14472
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> We can likely use HashMap instead of ConcurrentHashMap for exchange properties as concurrency access is improved in 3.x with the new routing engine.
> This reduces the number of object allocations as hash map is less overhead than a concurrent hashmap.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)