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

Add option "shareUnitOfWork" to pattern "enrich"

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.7
    • Fix Version/s: 2.16.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      ServiceMix 4.5.3

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: