parent
2eb211d876
commit
866ec809c6
2
mq.go
2
mq.go
@ -45,7 +45,6 @@ func (s MQSession) Open() error {
|
||||
s.MQConnection.Close()
|
||||
return err
|
||||
}
|
||||
/*
|
||||
s.MQDelivery, err = s.MQChannel.Consume(
|
||||
s.MQQueue.Name, // queue
|
||||
"", // consumer
|
||||
@ -55,7 +54,6 @@ func (s MQSession) Open() error {
|
||||
false, // no-wait
|
||||
nil, // args
|
||||
)
|
||||
*/
|
||||
logOnError(err, "Open : Failed to register a consumer")
|
||||
if err != nil {
|
||||
s.MQChannel.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user