-
Jan 23rd, 2011, 10:03 AM
#1
Specifying Task Executor with @Async
I like Spring 3.0 @Async but you can't seem to specify different task executors.
Ideally I would like something like:
@Async(executor="ExecutorA")
void doA();
@Async(executor="ExecutorB")
void doB();
but it looks like that is not possible.
I am using AspectJ so I guess I could write my own Annotation based Advisor ... but I would rather not 
Should I file a feature in Jira?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules