1 package dst.ass3.messaging;
4 * Contains several constants related to the RabbitMQ infrastructure and expected names for queues, exchanges and
7 public final class Constants {
9 public static final String RMQ_HOST = "192.168.99.99";
10 public static final String RMQ_PORT = "5672";
11 public static final String RMQ_VHOST = "/";
12 public static final String RMQ_USER = "dst";
13 public static final String RMQ_PASSWORD = "dst";
15 public static final String RMQ_API_PORT = "15672";
16 public static final String RMQ_API_URL = "http://" + RMQ_HOST + ":" + RMQ_API_PORT + "/api/";
18 public static final String QUEUE_QUIZ = "dst.quiz";
19 public static final String QUEUE_DOCUMENT = "dst.document";
20 public static final String QUEUE_VIDEO = "dst.video";
22 public static final String[] WORK_QUEUES = {
28 public static final String TOPIC_EXCHANGE = "dst.workers";
30 public static final String ROUTING_KEY_QUIZ = "requests.quiz";
31 public static final String ROUTING_KEY_DOCUMENT = "requests.document";
32 public static final String ROUTING_KEY_VIDEO = "requests.video";