Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is it safe to use the tHashOutput and tHashInput components in SOAP/REST services or in Jobs called by routes?
tHashxxx components are not thread-safe and are not supported in Data Services. They are designed to store/keep data/objects in memory and are not recommended for use in the JVM process of the runtime.
Hello,
If tHash are not thread safe, what other alternative do we have to store data while esb job, real-time data, are running ?
Using cache offers high speed for reading and manipulating the data, efficient solution, but the alternative could be write data on a fileOutput ?
Hello @jeoste
tHash and tBuffer components are not supported in services Job as they are not thread safe. An alternation is to use the tHSQL components ability to create an in-memory database 'on the fly', but this can have a performance impact and increase the job complexity.
If you tell us more information about the use-case we could give better help.
Regards
Shicong