Yes, you are right, scheduled service is a job. Considering Adrian's
suggestion you should keep a low transaction timeout for exampleService and
use-transaction="false" for the groovy running this service.

Groovy files can be used as ofbiz service. You need to prepare a map and
put your OUT param in it to return, that's it (you can also use
ServiceUtil.returnSuccess/error methods).

On Tue, May 21, 2013 at 10:09 PM, Robert G. <g...@mercon24.de> wrote:

> ha, that was fast :)
>
> I see and this sounds reasonable. But on the otherhand I can change the
> timeout for the browser, and 10.000 lines is not that much in my opinion.
> The transaction stops after 2.5 minutes.
>
> Or do you have a hint, how I can change the groovy code to a job? btw. what
> is the difference between a job and a service, is the job a scheduled
> service?
>
> I integrated that import into the webtools and start it from there, so I
> did
> it with groovy and minilang for the database service (Create...).
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641438.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



-- 
Thanks,
Deepak Agarwal,

Mobile: +91 9501190044

Reply via email to