Anahide Tchertchian wrote:
> You can now define orders for core event listeners: this may be useful
> if different listeners have to react in a specified order. If no order
> is given, order 0 is assumed. Negative orders are accepted. Listeners
> can share the same order, but the notification order will not be reliable.
> 
> Orders have been defined for some of nuxeo 5 listeners, please feel free
> to add it on missing ones if you think it is important.
> For now, listeners without any order set are notified first, then
> notifications to the runtime layer are performed, then document related
> notifications (uid generation, dublincore...), and jms forwarding is
> done almost last: the context map attached to the document is cleaned at
> the end.
> I wasn't sure were to add versioning related listeners so their order is
> not set right now.
> 
> You can also filter in the xml extension on which event ids the listener
> will react. the notifyEvent method of you listener will not be called at
> all if the event id does not match the configuration. This can allow you
> to avoid having on testing the event type before processing it in you
> listener.
> So you can add multiple <eventId>theEventId</eventId> tags in the
> listener xml description. This has not been set for default listeners
> (just in descriptions for tests). If no eventId attributes are defined,
> the listener is notified for all events.

Great. Thanks.

        J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to