You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 25 Members of 4493 |
| Forum: Seam Users |
09. Jun 2008, 15:47 CET | Link |
Hi all,
It seems that the asynchronous handling in Seam does not propagate the current identity component in the newly created thread session context. Is there some other way to know who started an asynchronous call ?
You could probably supply the identity as a parameter to the async call.
@Async.. public void doStuff(Identity identity) { }I came to the same conclusion. I was just wondering if there was something more 'automatic'. It is not extremely elegant to have this parameter in all asynchronous calls.