Author: lektran
Date: Mon Jul 19 00:21:13 2010
New Revision: 965335
URL:
http://svn.apache.org/viewvc?rev=965335&view=revLog:
Backport from trunk r965332:
Run olap SECAs asynchronously so that if they encounter any problems then the entire process that they're attached to won't get rolled back.
Modified:
ofbiz/branches/release10.04/applications/accounting/servicedef/secas_olap.xml
ofbiz/branches/release10.04/applications/order/servicedef/secas_olap.xml
ofbiz/branches/release10.04/applications/product/servicedef/secas_olap.xml
Modified: ofbiz/branches/release10.04/applications/accounting/servicedef/secas_olap.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/accounting/servicedef/secas_olap.xml?rev=965335&r1=965334&r2=965335&view=diff==============================================================================
--- ofbiz/branches/release10.04/applications/accounting/servicedef/secas_olap.xml (original)
+++ ofbiz/branches/release10.04/applications/accounting/servicedef/secas_olap.xml Mon Jul 19 00:21:13 2010
@@ -26,7 +26,7 @@ under the License.
<eca service="setInvoiceStatus" event="commit">
<condition field-name="statusId" operator="equals" value="INVOICE_READY"/>
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
- <action service="loadSalesInvoiceFact" mode="sync" run-as-user="system"/>
+ <action service="loadSalesInvoiceFact" mode="async" run-as-user="system"/>
</eca>
</service-eca>
Modified: ofbiz/branches/release10.04/applications/order/servicedef/secas_olap.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/order/servicedef/secas_olap.xml?rev=965335&r1=965334&r2=965335&view=diff==============================================================================
--- ofbiz/branches/release10.04/applications/order/servicedef/secas_olap.xml (original)
+++ ofbiz/branches/release10.04/applications/order/servicedef/secas_olap.xml Mon Jul 19 00:21:13 2010
@@ -26,7 +26,7 @@ under the License.
<eca service="setOrderStatus" event="commit">
<condition field-name="statusId" operator="equals" value="ITEM_APPROVED"/>
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
- <action service="loadSalesOrderFact" mode="sync" run-as-user="system"/>
+ <action service="loadSalesOrderFact" mode="async" run-as-user="system"/>
</eca>
</service-eca>
Modified: ofbiz/branches/release10.04/applications/product/servicedef/secas_olap.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/servicedef/secas_olap.xml?rev=965335&r1=965334&r2=965335&view=diff==============================================================================
--- ofbiz/branches/release10.04/applications/product/servicedef/secas_olap.xml (original)
+++ ofbiz/branches/release10.04/applications/product/servicedef/secas_olap.xml Mon Jul 19 00:21:13 2010
@@ -23,9 +23,9 @@ under the License.
<!-- dimension entities -->
<eca service="createProduct" event="commit">
- <action service="loadType1ProductInProductDimension" mode="sync"/>
+ <action service="loadType1ProductInProductDimension" mode="async"/>
</eca>
<eca service="updateProduct" event="commit">
- <action service="loadType2ProductInProductDimension" mode="sync"/>
+ <action service="loadType2ProductInProductDimension" mode="async"/>
</eca>
</service-eca>