[ http://issues.apache.org/jira/browse/OFBIZ-201?page=comments#action_12432650 ] Peter Goron commented on OFBIZ-201: -----------------------------------
Hi Si, I' ve attached the patch during issue creation and "Grant license" radio button has not been presented to me so I had not been able to select it. Have I missed something ? Next time, I will attach patch after issue creation. I've take a look at your patch and I'm not sure it is a good solution to remove the global transaction because it will change service-multi behavior in case of errors : - with ofbiz original code, if a row service call fails, all next row service calls will be rollbacked even in case of success. - with your patch, if a row service call fails, it will not rollback next row service calls that sucess. I'm not against your proposed change but I think the two approach are usefull and should be configurable by developer. > There is no way to define the timeout of the transaction used by > ServiceMultiEventHandler > ----------------------------------------------------------------------------------------- > > Key: OFBIZ-201 > URL: http://issues.apache.org/jira/browse/OFBIZ-201 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Environment: Linux, postgresql > Reporter: Peter Goron > Attachments: ServiceMulti-Si.patch, ServiceMultiEventHandler.patch > > > The transaction created by service-multi event handler uses the default > transaction timeout (60s). I've found no way to increase this value. > I think the default timeout of service-multi should be at least the timeout > defined in the service definition (transaction-timeout) of the service called > (see attached patch). > Maybe the default value should be service's timeout multiply by rowCount ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
