[
https://issues.apache.org/jira/browse/CAMEL-14409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016802#comment-17016802
]
Claus Ibsen commented on CAMEL-14409:
-------------------------------------
Introduced ExtendedExchange like we have ExtendedCamelContext etc where the SPI
and advanced API are, so we dont clutter up Exchange.
I do think we could move some of the APIs from Exchange to ExtendedExchange for
3.1 to cleanup. 3.0 is brand new, and many have not migratated. The API change
is easy as its just to adapt from exchange to extended to use it.
> camel-core - Optimize Exchange
> ------------------------------
>
> Key: CAMEL-14409
> URL: https://issues.apache.org/jira/browse/CAMEL-14409
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.1.0
>
>
> We can optimize Exchange to reduce object allocations and there are some
> transient state we store in exchange properties that can be stored in a
> faster way.
> Also the created timestamp is a Date which dont add value, using a long is
> better.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)