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: Issue 36 - Proposal to vote - Multiple instances of event handler


Proposal to resolve issue 36.

The semantics of event handler would be changed to allow the variable
used to capture the input message to be treated local to the event
handler instance:

1. The name of the variable is given in the variable attribute.

2. The variable type must be the same as the type of the input message
defined by referenced operation.

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.

 From that base proposal we have to options that we should vote on:

Option 1:

1. Retain the element name onMessage

2. The variable type is derived from the message type used as input by
the referenced operation

Option 2:

1. Rename eventHandler/onMessage to eventHandler/onEvent

2. The attribute messageType specifies the variable type by referencing
the message type definition using its QName.

arkin







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