[ 
https://issues.apache.org/jira/browse/CAMEL-14466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17027475#comment-17027475
 ] 

Claus Ibsen commented on CAMEL-14466:
-------------------------------------

Another idea is to store the redelivery state on the exchange once on uow-start 
and then reset the state before each redelivery error handler. Then its one 
object created per uow/exchange instead of per step in the routing

> camel-core - Optimize reduce error handler memory usage
> -------------------------------------------------------
>
>                 Key: CAMEL-14466
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14466
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.1.0
>
>
> Just experimenting if we can reduce the RedeliveryTask object size, for 
> example to have a simple task for non redeliverable processing, and then the 
> current when you need advanced error handling. This may reduce the object 
> sizes in memory during routing for some use-cases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to