Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi guys,
I have EMS and luaScriptResource (which is fetching data from sensors) running on one machine and Thingworx on another machine.I have configured the offline message store in config.json.
Now when I stop the Tomcat server the offline message get saved in offline_msgs.bin file and as soon as I start the Tomcat the server the file size becomes zero. How can I restore the messages/data from offline_msgs.bin file.
Correct me if I am wrong, offline_msgs.bin file store the data sent by sensor when the Thingworx is offline.
Suppose the TWX server is down for some time may be for 1 hr, can I restore all data send by sensor for that one hour?
Solved! Go to Solution.
OK got the solution,
I was using stream to log the properties, but I was using timer event to log the properties into stream hence data was getting lost.
Instead of timer now add subscription to data change event of properties.
OK got the solution,
I was using stream to log the properties, but I was using timer event to log the properties into stream hence data was getting lost.
Instead of timer now add subscription to data change event of properties.