2 Replies Latest reply: May 17, 2013 8:08 AM by 999231 RSS

    onAlarm not getting triggered while waiting for callback webservice in BPEL

    960466
      We are invoking a callback webservice from a BPEL and we have given the onAlarm wait time as PT5M. We have intentionally given a Thread.sleep in the webservice so that the callback returns to the BPEL only after 5 mins. This should have made the onMessage to be cancelled and the onAlarm to be triggered in the Pick activity of the BPEL but its not happening in our case. The audit trail of bpel instance shows that the webservice gets invoked only after waiting for the 5 mins and hence the onMessage gets triggered all the time. But we are able to see from the logs that the web service gets invoked properly. Can some one please help? Does the pick activity happen only after the webservice callback returns?