I do need to do synchronous events, so from what the list is saying
it seems I'll be extending SimpleExchangeServlet. Thanks for the info :)
Branden Root
Senior Developer
Portent Interactive
On Feb 10, 2006, at 2:07 AM, Alexandru Popescu wrote:
#: Jean-Sebastien Bournival changed the world a bit at a time by
saying (astral date: 2/10/2006 12:18 AM) :#
Well for my part I succeeded putting a servlet filter in front of
SimpleExchangeServlet.
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED]
Envoyé : February 9, 2006 4:20 AM
À : [email protected]
Objet : Re: [magnolia-user] Events on activation
Hi Brenden
Thomas is right that its more of a workflow, but until then you
still have other options
1. override SimpleExchangeServlet.
OR
2. observe any content changes, you can see how its done for
config workspace, it observes any modifications and reload
configuration accordingly.
regards
- Sameer
I am jumping to this thread to add some more details I have faced
while thinking about it:
- if you need synchronious events than you should consider
extending the SimpleExchangeServlet. Sameer and I have been trying
to make it as extensible as possible, so this scenario to be doable.
- if you need asynch events than you should consider JCR
observation optional feature. This is quite good explained in the
spec and Sameer pointers to the conf reload code is gonna offer you
good guidelines.
./alex
--
.w( the_mindstorm )p.
On Feb 9, 2006, at 3:03 AM, Branden Root wrote:
Hi all,
What would be the best way to have certain events be trigged
when content is activated? For instance, I want to update an RSS
file or send out an email whenever a certain piece of content is
activated. How would I go about doing that?
Thanks!
Branden Root
Senior Developer
Portent Interactive
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------