[ http://issues.apache.org/jira/browse/ODE-61?page=comments#action_12439848 ] Maciej Szefler commented on ODE-61: -----------------------------------
1. It should be possible to catch these things in the compiler. 2. The exception is propagated, the code is a bit deceptive. The code is not clear on this point because we wait for all the instances of the handler to terminate before telling the parent activity that a fault has occurred. By setting _fault, we ensure that this happens once the WAITING(null) continunation is completed (line 287). > Correlation Key initialization. > ------------------------------- > > Key: ODE-61 > URL: http://issues.apache.org/jira/browse/ODE-61 > Project: Apache Ode > Issue Type: Bug > Components: BPEL Runtime > Affects Versions: Incubator > Reporter: Lance Waterman > Fix For: Incubator > > > Created unit-test NegativeInitializationText. The test creates an <onEvent> > element that references a correlation set before it has been initialized. > 1) Is it possible to catch this in the compiler? > 2) If not an exception should be propogated to the caller. Currently it does > not appear that the exception is propogated in that the message exchange does > not indicate that anything went wrong. ( see EH_EVENT.run():123 and catch at > line 132 ) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
