I a m trying to develop a "send email from clipboard" functionality but
I am a full beginner with SEAM / JSF / EJB 3 though I have a great Java
Experience. So my problem is : I copy/ paste the send document by email
xhtml template (document_notif_email.xhtml) and I bound it to the
Clipboard. The only modification I made is the action on the
h:commandButton that now direct to my EJB3 :
<h:commandButton value="#{messages['command.mail.send']}" .....
action="#{MyClipboardZipMailBean.send()}" />
As you can guess seeing the name of my name my bean zip the content of
the clipboard (as the export zip function does it) and then send it by
mail
The problem seems to be that the email send takes too much time (not the
zip process though)) even done by an event-listener. I can not reduce
more the send() process time adding the zip process in the
event-listener since it seems then not t be able to read correctly the
repository (?!)
Is this behaviour normal (kind of timeout) ? is there a common way to
remedy ?
Thanks for your attention.
Olivier Duhart
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm