In my scenario I would like to send mails using seam-mail from asynchronous methods. The
problem is that context of asynchronous method doesn't contain my objects that I would
like to use within the body of my message and also for recipients address. I tried to
inject manually using any of the following Contexts methods.
Contexts.getEventContext().set("newUser", user);
|
| Contexts.getConversationContext().set("newUser", user);
|
| Contexts.getSessionContext().set("newUser", user);
|
| Contexts.getPageContext().set("newUser", user);
|
| Contexts.getBusinessProcessContext().set("newUser", user);
|
| Contexts.getMethodContext().set("newUser", user);
Anyone has any idea how to solve this issue?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018478#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...