You can make de distinction based on the action performed in a certain
part of the tree. (.preview a .www).
Regards,
Jeroen
Bartosz Oudekerk wrote:
Ricardo Sawirjo wrote:
Hi,
Thank you for the very fast response.
So if I understand it correctly and please correct me if I am wrong:
When a document is published/created/updated/deleted, the document
state changes. And because of the document state has changed a JMS
message is sent to the queue. However the JMS message does not state
what event actually happens. Hence based on the generated message you
can not identify what actually happened to the document. As the
document might just have been updated, created or deleted.
No, the JMS message specifies if it has been created, updated or
deleted.
If you publish a document, the corresponding JMS message will state that
the document in the live tree has either been updated or created,
depending on whether it existed before. There's no event 'published' as
far as JMS is concerned.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html