parent
42b64c08be
commit
15c1c11cf0
@ -35,9 +35,8 @@ 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 := ch.QueueDeclare(
|
||||
q, err := s.MQChannel.QueueDeclare(
|
||||
s.Queue, // name
|
||||
false, // durable
|
||||
false, // delete when unused
|
||||
|
Loading…
Reference in New Issue
Block a user