[progress Communities] [progress Openedge Abl] Forum Post: Re: Corticon .net Inline...

  • Thread starter Thread starter A_Haddad
  • Start date Start date
Status
Not open for further replies.
A

A_Haddad

Guest
To give you more details: Synchronous call is done through a very classical call in C#, like following: BRMSInterface.CallDecisionService(DECISION_SERVICE_NAME, distributorCode, lDataMappedForBRMS); and the called method contains a simple call to the iICcServer.execute(serviceName, llistObjects); Asynchronous call is done in a classical .Net Task: static Task CallDecisionService_async(int distributorCode, ArrayList distDataMappedForBRMS) { return Task .Factory.StartNew(() => { ArrayList distBRMSResponse = BRMSInterface.CallDecisionService(distributorCode, DECISION_SERVICE_NAME, distDataMappedForBRMS); _competitionCrudeResults.TryAdd(distributorCode, distBRMSResponse); return distBRMSResponse; }); } I joined here a comparison HTML report between Corticon Server logs in the two cases (async log is to the left side). You can see that payloads are identical. Differences begin being visible in line 157: 157 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_1:@ 158 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_2:@ 159 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_3:@ 160 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_4:@ 161 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_5:@ 162 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_6:@ 163 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_7:@ 164 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_8:@ 165 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_9:@ 166 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_10:@ 167 Fire rule:corticonrules_inmemory.Act_calcul_points_tousModesRem_14570954620371_rule_11:@ ==> These rules were only triggered in the synchronous execution. And then from line 289, the number of returned entities is different! Smells like a bug in Corticon DLLs??

Continue reading...
 
Status
Not open for further replies.
Back
Top