ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Schumacher (JIRA) <j...@apache.org>
Subject [jira] Created: (ODE-548) Error Message of Extension Activities get lost
Date Tue, 10 Mar 2009 09:38:50 GMT
Error Message of Extension Activities get lost
----------------------------------------------

                 Key: ODE-548
                 URL: https://issues.apache.org/jira/browse/ODE-548
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 2.0
         Environment: any
            Reporter: Jürgen Schumacher
            Priority: Minor
             Fix For: 2.0


I have a question concerning the handling of errors in extension activities, 
Tammo told me to create an issue for this:

Currently I use extensionContext.completeWithFault(Throwable) when 
my extension activity fails. But the complete MessageExchange with 
the BPEL process is then always completed with AckType FAILURE, 
failure type NO_RESPONSE and explanation "Process completed without 
responding", but no further details (like the exception message) 
seem to be returned. I've done a bit code reading and found these lines in
BpelRuntimeContextImpl.noreply(...):

            mexDao.setFailureType(FailureType.NO_RESPONSE);
            if (optionalFaultData != null) {
                mexDao.setFaultExplanation(optionalFaultData.toString());
            }
            mexDao.setFaultExplanation("Process did not respond.");

So first my error explanation is set and then immediately overwritten again.
Is this really intended this way? Or is there maybe just an "else" missing?
(hopefully ;-)


Cheers,
Juergen

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message