Skip to content

Commit

Permalink
Fixed an issue causing AcceptMessage to hang indefinitely
Browse files Browse the repository at this point in the history
Working around Azure/go-amqp#126 by batching dispositions

SOL-79806
  • Loading branch information
mcardy committed Oct 14, 2022
1 parent 579d8a6 commit bf61326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions receiver/solacereceiver/messaging_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (m *amqpMessagingService) dial() (err error) {
amqp.LinkSourceAddress(m.receiverConfig.queue),
amqp.LinkCredit(m.receiverConfig.maxUnacked),
amqp.LinkName(telemetryLinkName),
amqp.LinkBatching(true),
)
if err != nil {
m.logger.Debug("Create AMQP Receiver Link failure", zap.Error(err))
Expand Down

0 comments on commit bf61326

Please sign in to comment.