[
https://issues.apache.org/activemq/browse/CAMEL-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51733#action_51733
]
Claus Ibsen commented on CAMEL-1078:
------------------------------------
@Hadrian
I think it requires a bit more work than its possible to do over a weekend.
I would like to propose that this work should not hold up 2.0m2 release. I
would really like that to get out as its a major leap over 2.0m1. We have done
tons of work since and if it was a 1.x series it it would have constituted a
new x.+1 release alone.
After the m2 I would love to give us the time needed to research and work with
the API to find the right solution.
> Do not copy Exchanges at each step to improve performance
> ---------------------------------------------------------
>
> Key: CAMEL-1078
> URL: https://issues.apache.org/activemq/browse/CAMEL-1078
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.5.0
> Reporter: Hadrian Zbarcea
> Assignee: Hadrian Zbarcea
> Priority: Critical
> Fix For: 2.1.0
>
>
> The code in DefaultEndpoint.createExchange(Exchange exchange), calls on
> getExchangeType() to figure out if a new copy of Exchange needs be created.
> The code relies though on the generic argument of the Endpoint type to figure
> out the actual Exchange type. With the generics removed part of CAMEL-872,
> getExchangeType() always returns null, forcing a copy every time.
> There is no real need to extend Exchange, so the proposal for this to make
> the Exchange final and move the component specific bits, if any, in the
> Message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.