metatech created CAMEL-7609:
-------------------------------
Summary: Add option "shareUnitOfWork" to pattern "enrich"
Key: CAMEL-7609
URL: https://issues.apache.org/jira/browse/CAMEL-7609
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.10.7
Environment: ServiceMix 4.5.3
Reporter: metatech
Attachments: camel_enrich_shareunitofwork.diff
Since CAMEL-5981 in Camel 2.10.4, when an "enrich" is called, its UnitOfWork is
"null". This causes our custom producer component to be unable to access the
UnitOfWork of the Exchange.
Here is a patch that adds the option "shareUnitOfWork" to the "enrich" pattern
classes (Enricher and EnrichDefinition). This implementation was strongly
inspired by the implementation of the option in MulticastDefinition and
MulticastProcessor.
Patch is against Camel 2.10.7.
--
This message was sent by Atlassian JIRA
(v6.2#6252)