-
1. Re: bypass quartz dispatcher only in certain asynchronous methods
swd847 Jun 29, 2009 11:27 AM (in response to jonne.deprez)Not directly, however it would be pretty easy to manually use a different dispatcher.
I don't have access to the source at the moment, and I can't remember the exact steps, but I think the relevant class is ThreadPoolDispatcher. If there is only one method that you want to do this for you should be able to just use the dispatcher manually, if you are going to do it for a few different classes you can write your own interceptor.
If you want more help let me know and I will give a concrete example when I am on my dev machine.
-
2. Re: bypass quartz dispatcher only in certain asynchronous methods
jonne.deprez Jun 29, 2009 12:04 PM (in response to jonne.deprez)Thanks. You gave me some ideas, but an example would still be highly appreciated!
-
3. Re: bypass quartz dispatcher only in certain asynchronous methods
jonne.deprez Jul 9, 2009 10:57 AM (in response to jonne.deprez)The problem is that these dispatchers all have the same Seam name, and you can only install one at a time in components.xml. How can you manually use another dispatcher?
-
4. Re: bypass quartz dispatcher only in certain asynchronous methods
swd847 Jul 9, 2009 11:12 AM (in response to jonne.deprez)install it under another name and manually invoke the appropriate method. You will not be able to use the nice seam annotations but it will get the job done.