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

Provide a way to use async engine from ProducerTemplate

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-core
    • None
    • Patch Available
    • Unknown
    • Patch

    Description

      Currently ProducerTemplate delegates to Sync engine even when async* methods are used.

      This improvement:

      • changes async methods to use async engine
      • Provides Java 8 CompletableFuture instead of regular Future to the called
      • Provides a way to invoke async engine without additional thread pool

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              tivv Vitalii Tymchyshyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: