[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsrp] Questions on event names and aliases
The portlet will alway receive what it declared as the event name. So the answer to your second question would be yes, a.b will be send to the portlet. Concerning the first question I think that we always will have an transformation of events on the consumer side before dispatching events. In the easiest case it's an identity transformation when 2 portlets declare the same event name. The second case is name/alias transformation which is basically changing the qnames for events. And the third case is a full transformation including payload transformation. I think portlets have always to receive the events they declared, since this is what they will handle. Aliases are a wiring help and could be event modified post-development. So back to your first question: Since we have a pre-transformation before dispatching happens, it should be sufficient to have just the name specified in the handledEvents array. First a match of alias to name is done and once that happend the wildcarding mechanism is used to decide if the event should be dispatched if you will. Mit freundlichen Gruessen / best regards, Richard Jacob ______________________________________________________ IBM Lab Boeblingen, Germany Dept. 2289, WebSphere Portal Server Development 1 WSRP Team Lead WSRP Architecture & Standardization Phone: ++49 7031 16-3469 - Fax: ++49 7031 16-4888 IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 Subbu Allamaraju <subbu@bea.com> To 06/04/2007 07:20 wsrp <wsrp@lists.oasis-open.org> PM cc Subject [wsrp] Questions on event names and aliases I have a question on event names and wildcard matching. Section 5.1.16 defines the wildcard mechanism for event names, limiting the description to just "name"s of published or handled events. Does this mechanism also apply to alias names of events? Since an alias is another name for the same event, logically it seems valid for the consumer to match alias names based on the same wildcarding algorithm used while matching by the event name. A follow up question is, when a portlet declares an event name such as "{foons}a.b." as the event name and the event match happened via an alias, what name should be used while dispatching the event to the producer? I would assume that it should be the "{foons}a.b.". Thanks for any comments. Subbu Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]