Skip to content

Commit

Permalink
Fix RabbitMQ queue declare
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubenicos committed Jan 7, 2024
1 parent 83238f2 commit bd6e92f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void onStart() {

// Second!
// Create auto-delete queue
this.queue = cChannel.queueDeclare(queue, false, true, true, null).getQueue();
this.queue = cChannel.queueDeclare("", false, true, true, null).getQueue();
// With auto-delete pre-channel (exchange in RabbitMQ)
cChannel.exchangeDeclare(exchange, BuiltinExchangeType.TOPIC, false, true, null);
// And subscribed channels (routing keys in RabbitMQ)
Expand Down

0 comments on commit bd6e92f

Please sign in to comment.