You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "metatech (JIRA)" <ji...@apache.org> on 2014/07/17 15:46:11 UTC

[jira] [Updated] (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 ]

metatech updated CAMEL-7609:
----------------------------

    Attachment: camel_enrich_shareunitofwork.diff

> 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)