diff --git a/gradle.properties b/gradle.properties index 8b8868f..1da1eff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,4 @@ projectName = custom-project projectVersion = 1.0-SNAPSHOT -typescriptGeneratorVersion = 3.2.1263 \ No newline at end of file +typescriptGeneratorVersion = 3.2.1263 +org.gradle.parallel=true diff --git a/manager/src/main/java/telematics/teltonika/TeltonikaMQTTHandler.java b/manager/src/main/java/telematics/teltonika/TeltonikaMQTTHandler.java index b917e7a..be0315d 100644 --- a/manager/src/main/java/telematics/teltonika/TeltonikaMQTTHandler.java +++ b/manager/src/main/java/telematics/teltonika/TeltonikaMQTTHandler.java @@ -278,7 +278,7 @@ private void handleAttributeMessage(AttributeEvent event) { * @param device A {@link TeltonikaDevice} that is currently subscribed, to which to send the message to. */ private void sendCommandToTeltonikaDevice(String command, TeltonikaDevice device) { - mqttBrokerService.publishMessage(device.commandTopic, Map.of("CMD", command), MqttQoS.EXACTLY_ONCE); + publishMessage(device.commandTopic, Map.of("CMD", command), MqttQoS.EXACTLY_ONCE); } @Override