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

Claus Ibsen commented on CAMEL-7609:
------------------------------------

Thanks but we would need some unit tests to go with this patch also. And the 
default value should be default, so current behavior is as before.

> 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
>             Fix For: Future
>
>         Attachments: camel_enrich_shareunitofwork_v2.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)

Reply via email to