[ 
https://issues.apache.org/jira/browse/OFBIZ-6531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601255#comment-14601255
 ] 

Christian Carlow commented on OFBIZ-6531:
-----------------------------------------

It allows a simple method called from the controller to call other simple 
methods without having them timeout:
<event type="simple" path="component://test/script/testScript.xml" 
invoke="test"></event>

In the above, test simple-method did <call-simple-method method="test2"/> but 
test2 exceeded the default transaction-timeout so it was added as an attribute 
to <simple-method> to override the default.

Adding the attribute to <call-simple-method> instead of <simple-method> may be 
a better solution since it is already supported for <call-service>.

> Support transaction-timout for <simple-method>
> ----------------------------------------------
>
>                 Key: OFBIZ-6531
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6531
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Priority: Minor
>         Attachments: OFBIZ-6531.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to