This commit is contained in:
shoopea 2019-06-28 14:31:03 +08:00
parent c27170c923
commit 020e2a5064

3
mq.go
View File

@ -53,7 +53,8 @@ func (s MQSession) Open() error {
s.MQConnection.Close()
return err
}
log.Printf("Open : Queue name %s\n", q.Name)
log.Printf("Open : Queue name #1 %s\n", q.Name)
log.Printf("Open : Queue name #2 %s\n", s.MQQueue.Name)
/*
s.MQDelivery, err = s.MQChannel.Consume(
s.MQQueue.Name, // queue