diff --git a/src/main/java/com/virtualpairprogrammers/tracker/messaging/MessageProcessor.java b/src/main/java/com/virtualpairprogrammers/tracker/messaging/MessageProcessor.java index 9504ae7..3de256f 100644 --- a/src/main/java/com/virtualpairprogrammers/tracker/messaging/MessageProcessor.java +++ b/src/main/java/com/virtualpairprogrammers/tracker/messaging/MessageProcessor.java @@ -33,6 +33,7 @@ public void processPositionMessageFromQueue(Map incomingMessage .withLat(new BigDecimal(incomingMessage.get("lat"))) .withLng(new BigDecimal(incomingMessage.get("long"))) .withTimestamp(convertedDatestamp) + .withSpeed(new BigDecimal("50.5")) .build(); data.updatePosition(newReport); diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..54319d0 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +hello test here