Question Paul Beckett · Mar 29, 2017 Responding to multiple processes in OnResponse (Observer Pattern) Following on from https://community.intersystems.com/post/custom-business-process-change-sendrequestsync-sendrequestasync we are refactoring a number of business processes to use OnRequest/SendRequestAsync/OnResponse mechanisms. To prevent overloading some of our datasources we currently implement a simple caching system using locks similar to the code below. #Ensemble 0 1 1 986
Question Paul Beckett · Mar 17, 2017 Custom Business Process. Change from SendRequestSync to SendRequestAsync I have a number of Business Process and due to the complexity these were created as "custom code" instead of BPL. These processes currently invoke other components using SendRequestSync. For a couple of reasons I would like to be able to change these to use SendRequestAsync: #Beginner #Ensemble #SOAP #ObjectScript 0 5 0 2K
Question Paul Beckett · Jun 16, 2016 Applying string functions ($replace, $zconvert etc) to a %Library.GlobalCharacterStream Hi,I have a bit of code that does a find and replace on a "template" and inserts additional content. For example it replaces the @DATA@ with an html table:<html> <body> <div id="data">@DATA@</div> </body></html>Currently doing this with the $replace function:Set text=$replace(text, "@DATA@", data) #ObjectScript #Caché 0 5 0 1.6K