queues, and posting to db works
This commit is contained in:
@@ -1,16 +1,5 @@
|
||||
package io.github.lumijiez;
|
||||
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.Random;
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
|
||||
import static io.github.lumijiez.Main.logger;
|
||||
|
||||
public class AddressHolder {
|
||||
private String host;
|
||||
private int port;
|
||||
|
||||
@@ -15,8 +15,6 @@ import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static io.github.lumijiez.Main.logger;
|
||||
|
||||
public class BrokerConnector {
|
||||
private static final String QUEUE_NAME = "random_sha";
|
||||
private static final String RABBITMQ_HOST = "rabbitmq";
|
||||
|
||||
Reference in New Issue
Block a user