From 9ea22ab0e7f63e92ee1e3058cb8f71d2ca0bc072 Mon Sep 17 00:00:00 2001 From: Anca Antochi Date: Wed, 23 Feb 2022 19:58:20 -0800 Subject: [PATCH] Revert "AMQP CBS token message dispose (#6057) (#6107)" (#6156) This reverts commit 6055c6eeba47dcd564ab638444eb14ba90d225e8 until release ## Azure IoT Edge PR checklist: This checklist is used to make sure that common guidelines for a pull request are followed. ### General Guidelines and Best Practices - [x] I have read the [contribution guidelines](https://github.com/azure/iotedge#contributing). - [x] Title of the pull request is clear and informative. - [x] Description of the pull request includes a concise summary of the enhancement or bug fix. ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. - Description of the pull request includes - [ ] concise summary of tests added/modified - [ ] local testing done. --- .../core/src/Microsoft.Azure.Devices.Edge.Hub.Amqp/CbsNode.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Amqp/CbsNode.cs b/edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Amqp/CbsNode.cs index e3b9ee821d9..6e83d3c0f31 100644 --- a/edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Amqp/CbsNode.cs +++ b/edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Amqp/CbsNode.cs @@ -288,7 +288,6 @@ async Task HandleTokenUpdate(AmqpMessage message) { try { - this.receivingLink.DisposeMessage(message, AmqpConstants.AcceptedOutcome, true, message.Batchable); (AmqpResponseStatusCode statusCode, string description) = await this.UpdateCbsToken(message); await this.SendResponseAsync(message, statusCode, description); }