wip
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user