-
1. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
pmuir Feb 20, 2008 10:58 AM (in response to przemjaskier)(2) is untested and I wouldn't necessarily expect (3) to work. File a JIRA feature request for (3) please - but it will require some redesign on how we render mails (hopefully make it much more robust)
-
2. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
przemjaskier Feb 20, 2008 11:25 AM (in response to przemjaskier)Thanks Pete
JBSEAM-2657, ready for voting - anyone?.
Possibility of using Render from an async event would be great, though.
Best regards,
Przemek. -
3. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
pmuir Feb 20, 2008 11:37 AM (in response to przemjaskier)It works from a method annotated @Asynchronous - see the mail example - if that is good enough for you.
-
4. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
vladimir.kovalyuk Mar 18, 2008 9:48 AM (in response to przemjaskier)Pete, Mail example doesn't work for me. It fails with the same exception Przemyslaw quoted.
I tried Seam 2.0.1GA. -
5. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
pmuir Mar 19, 2008 11:55 AM (in response to przemjaskier)Deployed to what server?
-
6. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
vladimir.kovalyuk Mar 19, 2008 2:22 PM (in response to przemjaskier)I use JBoss 4.2.1GA:(build: SVNTag=JBoss_4_2_1_GA date= 200707131605)
-
7. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
pmuir Mar 20, 2008 1:06 AM (in response to przemjaskier)I just tested on my install of JBoss 4.2.2.GA and it works fine. Can you give 4.2.2.GA a go?
-
8. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
danielc.roth Apr 11, 2008 3:02 PM (in response to przemjaskier)I just tried it on 4.2.2.GA. Same exception as above.
I have a
polling
method (@Async.. with @Interval..) which calls another @Async method for sending the mail. -
9. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
nico Apr 14, 2008 11:10 AM (in response to przemjaskier)From this thread I take it that using a combination of JBoss 4.2.2 GA and Seam 2.0.1GA sending asynchronous email will be dead easy?
I'm using JBoss 4.0.5 and Seam 1.2.0 PATCH 1 and sending asynchronous email is proving to be a bit of a mission.
-
10. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
nico Apr 14, 2008 1:43 PM (in response to przemjaskier)Well Seam 2.0.1GA has it all under AsynchronousMailProcessor.java....now we have a good reason to upgrade.
-
11. Re: Seam Mail-works in synchronous event, error in asynchronous event or servlet
vineetmanohar Sep 10, 2008 9:06 PM (in response to przemjaskier)Download seam 2.0.2 and look in examples section. There is a class called AsynchronousMailProcessor.java, it worked for me. Another useful page (Seam Asynchronous Email) with all the info you need.