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

Async API - Expose OnCompletion callback on the ProducerTemplate for easy async callbacks

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M3
    • 2.0.0
    • camel-core
    • None

    Description

      The async API on the ProducerTemplate could add methods that expose the OnCompletion so you could send in a message that is routed async (from you as the client point of view) and Camel will use the OnCompletion callback to invoke when the message is done.

      This frees the burden from the client to use the Future handle to check the isDone.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: