[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsbpel] Issue - 219 - correlationViolation from bad propertyAlias?
We can use subLanguageExecution, incompatibleAssign, selectionFailure faults (depending on what is wrong in the query used in propertyAlias) ... or we can use correlationViolation. Given : ------------------------------ <receive operation="..." .... > <correlationSet ... /> </recieve> ------------------------------ Basically, we make a design choice here: whether to throw a query-language related fault, which will provide specific fault info? or a correlation-related fault, which acts a generic fault container ("rootCause" design pattern in Java Exception) and is less surprising to users? (It may be surprising to users on why I got a selectionFailure when I am just doing a <receive>, not <assign>.) One way or the other, we need to state it clearly in our spec. (while I do have a small preference to use correlationViolation in these cases) Thanks! Regards, Alex Yiu Danny van der Rijn wrote: Wouldn't this case throw a subLanguageExecution fault? |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]