Commit 9093206bc55ca02547478541994b026c48480cc7

Authored by Andrii Shvaika
Committed by Andrew Shvayka
1 parent 2078c71d

Execute callback correctly

@@ -273,6 +273,7 @@ public class DefaultDeviceStateService extends TbApplicationEventListener<Partit @@ -273,6 +273,7 @@ public class DefaultDeviceStateService extends TbApplicationEventListener<Partit
273 md.putValue("deviceName", device.getName()); 273 md.putValue("deviceName", device.getName());
274 md.putValue("deviceType", device.getType()); 274 md.putValue("deviceType", device.getType());
275 stateData.setMetaData(md); 275 stateData.setMetaData(md);
  276 + callback.onSuccess();
276 } 277 }
277 } else { 278 } else {
278 //Device was probably deleted while message was in queue; 279 //Device was probably deleted while message was in queue;