This commit is contained in:
shoopea 2019-06-28 14:44:31 +08:00
parent 15a4f2f5a0
commit 6a69fc034d

4
mq.go
View File

@ -2,7 +2,7 @@ package main
import (
"errors"
"log"
//"log"
"github.com/streadway/amqp"
)
@ -68,7 +68,7 @@ func (s MQSession) Open() error {
s.MQConnection.Close()
return err
}
log.Printf("Open : MQ Connected to amqp://" + s.User + ":" + s.Password + "@" + s.Host + "/" + s.Path)
//log.Printf("Open : MQ Connected to amqp://" + s.User + ":" + s.Password + "@" + s.Host + "/" + s.Path)
s.isConnected = true
return nil
}