test
This commit is contained in:
parent
c3a7017ed3
commit
2e90cdcfea
@ -35,8 +35,9 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Connection address : %p.\n", &s.MQConnection)
|
||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Channel address : %p.\n", &s.MQChannel)
|
||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name #1 : %s.\n", s.Queue)
|
||||
ch := s.MQChannel
|
||||
|
||||
q, err := s.MQChannel.QueueDeclare(
|
||||
q, err := ch.QueueDeclare(
|
||||
s.Queue, // name
|
||||
false, // durable
|
||||
false, // delete when unused
|
||||
|
Loading…
Reference in New Issue
Block a user