I have the following setup: REST broker calls inProc BO via BS. As BO initialization is time-consuming, I want to reuse the same BO during the CSP process lifetime.
I have tried the following approaches:
- Set
%session.Preserveto 1 (I would prefer not to use it as the BO object is not linked to a specific client) - Set
$$$EnsInProcPersistto 1 (looked relevant) - Cached BS between calls
However, every time I call my REST endpoint, I get a new BO. Is there a way to cache inProc BOs in the CSP context?
To run the sample, import it into any interoperability-enabled namespace, start in.Production pro
.png)


