If your database polling program is not allowed to make an http request to cocoon you could always try the cocoon command line interface. Parts of the framework and pipeline are available through plain java objects as well.

Have you looked at wiki.cocoondev.org ?


Thorsten Mauch wrote:


the request for the mail don't come from a user, but from
a database changes (i poll the datbase for certain event).
If this event occur i want to generate the content with
a pipeline and the send the result via mail.

-----Urspr�ngliche Nachricht-----
Von: Jorg Heymans [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 7. Februar 2004 23:23
An: [EMAIL PROTECTED]
Betreff: Re: record pipeline result


i don't know if there is an off-the-shelf mail serializer (don't think so) but it would really trivial to write a serializer that gathers the SAX events and when the document is completed sends its contents out by mail.


What do you mean by faked request object?

Regards
Jorg

Thorsten Mauch wrote:

Hi
My application needs to send the the result of a pipeline as
mail. Is it possible to call a pipleline with  a (faked ) request
object and the save the output stream ?

Thanx Thorsten



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to