Alternate JobSandbox

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Alternate JobSandbox

byersa
I would like to create an alternate JobSandbox that ends up using a
lower max thread-count. I have looked around and hope that I am
missing the easy way to do it.

I see that I could add another thread-pool to serviceengine.xml
(anyway to do that without having to modify ofbiz code?), but how do I
get a JobSandbox to use that pool?
Or how do I create another dispatcher (again, hopefully without having
to modify ofbiz code - just my custom webapp)?

The reason I want to do this is to meter the rate at which this
process happens. Are there better ways to do this?

Thanks for any help.

-Al
Reply | Threaded
Open this post in threaded view
|

Re: Alternate JobSandbox

Scott Gray-2
Hi Al,

I don't think it's possible currently, the JobPoller uses ServiceConfigUtil to retrieve the settings from serviceengine.xml but it only looks at the first service-engine element.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/02/2010, at 12:49 PM, Al Byers wrote:

> I would like to create an alternate JobSandbox that ends up using a
> lower max thread-count. I have looked around and hope that I am
> missing the easy way to do it.
>
> I see that I could add another thread-pool to serviceengine.xml
> (anyway to do that without having to modify ofbiz code?), but how do I
> get a JobSandbox to use that pool?
> Or how do I create another dispatcher (again, hopefully without having
> to modify ofbiz code - just my custom webapp)?
>
> The reason I want to do this is to meter the rate at which this
> process happens. Are there better ways to do this?
>
> Thanks for any help.
>
> -Al


smime.p7s (3K) Download Attachment