RE: runAsync

2008-03-17 Thread [EMAIL PROTECTED]
Once again, thanks Belgin. This worked a charm. Now all we need is a way to set a lower priority on the thread. Skip -Original Message- From: Bilgin Ibryam [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 2:28 AM To: user@ofbiz.apache.org Subject: Re: runAsync On Sat, 2008-03

RE: runAsync

2008-03-17 Thread [EMAIL PROTECTED]
Thanks Bilgin. I saw that method, but didn't think that was what I was after. I'll give it a try. Skip -Original Message- From: Bilgin Ibryam [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 2:28 AM To: user@ofbiz.apache.org Subject: Re: runAsync On Sat, 2008-03-1

Re: runAsync

2008-03-17 Thread Bilgin Ibryam
On Sat, 2008-03-15 at 14:19 -0700, [EMAIL PROTECTED] wrote: > I am calling dispatcher.runAsync("computeEOQRequirements", context); from > Is there any way to control this startup time? You can call the service async w/o persisting it, like this: dispatcher.runAsync("computeEOQRequirements", cont

runAsync

2008-03-15 Thread [EMAIL PROTECTED]
I am calling dispatcher.runAsync("computeEOQRequirements", context); from another service to start the job up asynchronously. I have code in computeEOQRequirements that writes to stdout whenever it first starts. It seems that it takes like 4 seconds on a fairly skookum machine for it to begin. T