Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Asynchronous Task

I've created an asynchronous task implementing the IPostOutermostTransactionTask interface and I'm calling the task from an operation advisor using ITransactionService.executeTaskAfterCurrentOutermostTransaction.

This is working fine and I noticed that when the number of calls to executeTask increases, RTC spawns new threads. But monitoring the active service, I noticed that at most 5 threads are active at any point in time.

Is this limit configurable?

Also, my task polls an external system to check whether a previous request has completed. If the request has not completed, then it needs to recheck at later point in time. So I don't hold the task, I'd like to re-queue the EObject for later processing by calling executeTask from the transactionSuceeded method. Would that work?

Thanks

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Oct 26 '11, 4:59 p.m.

Question was seen: 4,320 times

Last updated: Oct 26 '11, 4:59 p.m.

Confirmation Cancel Confirm