Skip to content

Commit

Permalink
make sure to bind the completed queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Jan 30, 2024
1 parent 6f57094 commit 6f2ff7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/edu/ucsb/nceas/mdqengine/Worker.java
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ public void setupQueues() throws IOException, TimeoutException {

try {
RabbitMQchannel.queueDeclare(COMPLETED_QUEUE_NAME, durable, false, false, null);
RabbitMQchannel.queueBind(COMPLETED_QUEUE_NAME, EXCHANGE_NAME, COMPLETED_ROUTING_KEY);
log.info("Connected to RabbitMQ queue " + COMPLETED_QUEUE_NAME);
} catch (Exception e) {
log.error("Error connecting to RabbitMQ queue " + COMPLETED_QUEUE_NAME);
Expand Down

0 comments on commit 6f2ff7f

Please sign in to comment.