Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
When using producer template / producer cache and have a result processor to convert the result to X then it wraps using a set of internal processors / uow etc which creates a new objects which we can avoid.
This was introduced by CAMEL-10308
We can further optimise this to avoid creating a new instance of internal processor but use a shared instance. This is a hot spot as ProducerCache is used by producer template, and EIPs that sends to endpoints such as to and toD etc.