aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-03-16 07:37:34 -0700
committerGitHub <noreply@github.com>2024-03-16 07:37:34 -0700
commitc76b4a69585ffb93877168449c48cfee2ca21a9d (patch)
tree27031ef739f20b428c80fa98d153d6e0647be430 /src/main/java/org/traccar/MainModule.java
parent97e4a94df6001c8c64a2e315bbe59fce35115ec8 (diff)
parentad1e5c4aba6d97673e7b065b061c8f964aedf447 (diff)
downloadtrackermap-server-c76b4a69585ffb93877168449c48cfee2ca21a9d.tar.gz
trackermap-server-c76b4a69585ffb93877168449c48cfee2ca21a9d.tar.bz2
trackermap-server-c76b4a69585ffb93877168449c48cfee2ca21a9d.zip
Merge pull request #5282 from supriyoMondal/mqtt-position-forwarding
feat: add configuration for event forwarding with mqtt
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index acdf48874..26654947e 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -46,6 +46,7 @@ import org.traccar.forward.PositionForwarderAmqp;
import org.traccar.forward.PositionForwarderKafka;
import org.traccar.forward.PositionForwarderRedis;
import org.traccar.forward.PositionForwarderUrl;
+import org.traccar.forward.PositionForwarderMqtt;
import org.traccar.geocoder.AddressFormat;
import org.traccar.geocoder.BanGeocoder;
import org.traccar.geocoder.BingMapsGeocoder;
@@ -383,6 +384,8 @@ public class MainModule extends AbstractModule {
return new PositionForwarderAmqp(config, objectMapper);
case "kafka":
return new PositionForwarderKafka(config, objectMapper);
+ case "mqtt":
+ return new PositionForwarderMqtt(config, objectMapper);
case "redis":
return new PositionForwarderRedis(config, objectMapper);
case "url":