You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/12 15:41:04 UTC
[jira] [Resolved] (CAMEL-7609) Add option "shareUnitOfWork" to
pattern "enrich"
[ https://issues.apache.org/jira/browse/CAMEL-7609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-7609.
--------------------------------
Resolution: Fixed
Thanks for the patch
> Add option "shareUnitOfWork" to pattern "enrich"
> ------------------------------------------------
>
> Key: CAMEL-7609
> URL: https://issues.apache.org/jira/browse/CAMEL-7609
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.10.7
> Environment: ServiceMix 4.5.3
> Reporter: metatech
> Assignee: Claus Ibsen
> Fix For: 2.16.0
>
> Attachments: camel_enrich_shareunitofwork_v3.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.3.4#6332)