cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karen Torres <>
Subject Re: Run Action from Java?
Date Mon, 04 Feb 2008 21:41:21 GMT
Hello Gary!
you can add at your component declaration in cocoon.xconf a pipeline tag 
[<pipeline/>] to execute your match
for example:
<component role="org.apache.cocoon.components.cron.CronJob/task_to_run"
then inside "MyClass" you can to call the pipeline with request parameters
and into sitemap.xmap to do a match pattern to: sendmail.

Gary Larsen escribió:
> I’m running Cocoon 2.1.9.
> The application periodically runs some background processing with 
> CocoonQuartzJobScheduler.
> I want to send an email at the end of processing and thought that a 
> SendMail action would be the easiest solution. Can I run this Action 
> from Java, or do something similar to a flowscript sendPage()?
> Thanks,
> gary


Karen Torres N. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message