test
This commit is contained in:
parent
d4175a53cf
commit
be6ad4b524
@ -32,7 +32,7 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
|||||||
err = s.Open()
|
err = s.Open()
|
||||||
}
|
}
|
||||||
log.Printf("MQGetMsgWorker[" + strconv.Itoa(id) + "] : Connected to RabbitMQ")
|
log.Printf("MQGetMsgWorker[" + strconv.Itoa(id) + "] : Connected to RabbitMQ")
|
||||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", s.Queue)
|
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Session address : %p.\n", &s)
|
||||||
m, err := s.MQChannel.Consume(
|
m, err := s.MQChannel.Consume(
|
||||||
s.Queue, // queue
|
s.Queue, // queue
|
||||||
"", // consumer
|
"", // consumer
|
||||||
|
Loading…
Reference in New Issue
Block a user