virtualthing setProperty issue of not updating properties on the Platform
private static int pushuploadfile( SGIThing sgiThing, Map<String, String> aI ) {
try {
for (Map.Entry<String, String> entry : aI.entrySet()) {
sgiThing.setProperty( entry.getKey(), entry.getValue() );\
// Thread.sleep(250);
}
sgiThing.updateSubscribedProperties(5000);
} catch (Exception e) {
Log(LogName+": Error in property processing"+e.getMessage());
}
return 0;
}
I have 17 unique entries in the Map ( thingshape). About half the time, none of the 17 properties get updated on the platform, even though
i think I have my platform and ems properties in sync. The properties are only updated once every 24hrs. Even the very first time this code
is executed at ems start up, i don't see any properties set on the platform. If I uncomment the Thread.sleep(250) the properties are updated on
platform correctly all the time and more importantly the very first time.
Is there some setting in the ems or platform I can use such that the sleep can be removed, or is there a queue adjustment to be made or ...
and if so how/where/what/when?

