Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4232

AxisCallback.onComplete does not get called on a non-blocking call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.4.1
    • None
    • kernel
    • None

    Description

      Hi,

      I'm executing ServiceClient.sendReceiveNonBlocking(org.apache.axiom.om.OMElement elem, AxisCallback callback) for an asynchronous request.

      The documentation states that the onComplete() method in the passed AxisCallback instance "is called at the end of the MEP no matter what happens, quite like a finally block."

      This is not the case. onComplete() does not get executed. If onComplete doesn't get called, what should I be relying upon to know that a call has finished execution?

      Attachments

        Activity

          People

            amilachinthaka Amila Chinthaka Suriarachchi
            amorgos Eurig Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: