Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7609

Add option "shareUnitOfWork" to pattern "enrich"

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.7
    • 2.16.0
    • camel-core
    • None
    • ServiceMix 4.5.3

    • Patch Available
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              metatech metatech
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: