Suggestion for RestMessageV3 being natively performant and optimized

Hetang Modi
Tera Contributor

It has been observed that there are restrictions on usage of executeAsync with waitForResponse and usage of executeAsync over execute for RestMessageV2. Moreover, for the requests occurring via MID Server, the developers need to use setEccCorrelator and add BRs on ECC Queue table in order to avoid the thread wait time or blockages. Can there be a RestMessageV3 that could work like JavaScript's Promise or similar, that allows users to pass the function or Class with its members present, which would be executed once the network call receives the response, irrespective of whether execute or executeAsync is used?

 

I understand there may be challenges and impacts almost everything, but keeping RestMessageV2 and introducing RestMessageV3 with advancements and enhancements could help developers overall. Moreover, even with the native JavaScript functions, its native thread handling could be leveraged.

0 REPLIES 0