I am newish to webMethods IS and I would like to cache some data in my flow service from the Database so I don’t have to go and read it every time. Basically a one off call to the DB table to store some configuration/environment information.
I’m using webMethods IS version 9.8.
Has anyone done this and able to give an example or point me to some documentation?
you can use the properties of the service to define caching.
Make sure, that you call the service either as transformer or define the appropriate scope for the service.
Otherwise the caching is not working correctly as the key for the caching is the pipeling being present at the time when the caching service is invoked.
See Working-With-Designer Guide as well as Service-Development-Help for further informations.
Additionally you can also leverage the feature of EhCache and Terracotta capabilities for putting and getting from cache eliminating DB reads and writes which increases performance and cluster aware.