This commit is contained in:
2026-03-19 01:14:46 +01:00
parent 506d4eb111
commit a51c4258c2
13 changed files with 223 additions and 52 deletions
+1 -2
View File
@@ -30,11 +30,10 @@ impl EventHandler for Handler {
let mut subscriber = self
.nats_client
.queue_subscribe("corro-dj.*", "group1".to_string())
.queue_subscribe("corro-dj.job.*", "group1".to_string())
.await
.unwrap();
// Receive and process messages
while let Some(message) = subscriber.next().await {
println!("Received message {:?}", message);