aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2023-07-19 22:13:19 -0700
committerGitHub <noreply@github.com>2023-07-19 22:13:19 -0700
commitf1470e56708b66c805e63619209930e83116f4ea (patch)
treef01e6b4777cbaad4b3464e89076c7e8aaf4ab6db /src/main/java/org/traccar/config
parent840d5600c69839e9be7a241d69005f322dfef124 (diff)
parentdacaefcd4e416eeeedf1074729a8670aec1e53fb (diff)
downloadtrackermap-server-f1470e56708b66c805e63619209930e83116f4ea.tar.gz
trackermap-server-f1470e56708b66c805e63619209930e83116f4ea.tar.bz2
trackermap-server-f1470e56708b66c805e63619209930e83116f4ea.zip
Merge pull request #5136 from RodolfoSilva/feature/amqp-forwarder
Add AMQP(RabbitMQ) Forwarder
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 7ad981799..f95794e03 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -844,7 +844,15 @@ public final class Keys {
"url");
/**
- * Position forwarding Kafka topic.
+ * Position forwarding AMQP exchange.
+ */
+ public static final ConfigKey<String> FORWARD_EXCHANGE = new StringConfigKey(
+ "forward.exchange",
+ List.of(KeyType.CONFIG),
+ "traccar");
+
+ /**
+ * Position forwarding Kafka topic or AQMP Routing Key.
*/
public static final ConfigKey<String> FORWARD_TOPIC = new StringConfigKey(
"forward.topic",
@@ -913,7 +921,15 @@ public final class Keys {
"json");
/**
- * Events forwarding Kafka topic.
+ * Events forwarding AMQP exchange.
+ */
+ public static final ConfigKey<String> EVENT_FORWARD_EXCHANGE = new StringConfigKey(
+ "event.forward.exchange",
+ List.of(KeyType.CONFIG),
+ "traccar");
+
+ /**
+ * Events forwarding Kafka topic or AQMP Routing Key.
*/
public static final ConfigKey<String> EVENT_FORWARD_TOPIC = new StringConfigKey(
"event.forward.topic",