OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsbpel] Issue 36 - Multiple instances of event handler


The outline of my proposal would be:

1. The name of the variable is given in the onMessage/@inputVariable 
attribute.

2. The variable type is the same as the type of the input message 
defined by the operation referenced by onMessage.

3. The event handler declares a variable of that name and type that is 
scoped to the event handler activity.

4. Upon receipt of the input message the event handler assigns the input 
message to the variable before proceeding to perform the event handler 
activity.

5. Since the variable is scoped to that activity, two instances of the 
activity (whether executed seriallly or concurrently) do not operate on 
the same variable.

Comments?

arkin

Satish Thatte wrote:

>Wonderful.  Since you are the champion, you get to propose the solution!
>
>Cheers,
>Satish
>
> 
>
>-----Original Message-----
>From: Assaf Arkin [mailto:arkin@intalio.com] 
>Sent: Thursday, September 25, 2003 8:51 PM
>To: Satish Thatte
>Cc: Maciej Szefler; wsbpel@lists.oasis-open.org
>Subject: Re: [wsbpel] Issue 36 - Multiple instances of event handler
>
>Satish, I perfectly agree with you.
>
>The "copy" as I understand it requires two variables to be defined. My 
>proposal was for the event handler to declare a variable that is local 
>to the event handler based on the message type and assign the input 
>message to that variable. This does not require the variable to be 
>defined in the same (or enclosing) scope as the event handler. From what
>
>I can tell this requires no change to the syntax.
>
>And since Satish offered the catch/faultVariable as an example, I think 
>there's a general rule here that could apply in more than one case.
>
>arkin
>
>Satish Thatte wrote:
>
>  
>
>>Maciej,
>>
>>I seem to have misunderstood what we agreed at the recent F2F.  I
>>thought everyone present agreed including Assaf that we need the
>>*semantics* of the two syntactic variants I described below.  We didn't
>>really discuss syntax in detail.
>>
>>Assaf, if you disagree please let us know.
>>
>>Satish
>> 
>>
>>    
>>
>
>
>
>  
>


-- 
"Those who can, do; those who can't, make screenshots"

----------------------------------------------------------------------
Assaf Arkin                                          arkin@intalio.com
Intalio Inc.                                           www.intalio.com
The Business Process Management Company                 (650) 577 4700


This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient, dissemination of this
communication is prohibited. If you have received this communication
in error, please erase all copies of the message and its attachments
and notify us immediately.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]