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

async DSL - Add support for handing over UoW - So onCompletion is also handed over

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M1
    • 2.0-M2
    • camel-core
    • None

    Description

      When routing using async DSL the exchange on the async thread should have the UoW synchronization jobs handed over. This allows onCompletion tasks to be preserved and also be executed when the async thread is complete.

      This can be used to allow a file consumer to use a async thread pool to speed up. The thread pool can concurrently process the files and each of the threds in this pool will do the file consume commit/rollback when they finish.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: