Skip to content

Commit

Permalink
[Event Hubs Client] Repeated Amqp Header Property (#22339)
Browse files Browse the repository at this point in the history
The focus of these changes is to remove a redundant conditional that
sets one of the AMQP header properties during event conversion.
  • Loading branch information
jsquire authored Jul 1, 2021
1 parent 24657e0 commit cc2c2ec
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,6 @@ _ when sourceMessage.Body.TryGetValue(out var valueBody) => AmqpMessage.Create(T
{
message.Header.FirstAcquirer = sourceMessage.Header.FirstAcquirer;
}

if (sourceMessage.Header.DeliveryCount.HasValue)
{
message.Header.DeliveryCount = sourceMessage.Header.DeliveryCount;
}
}

// Properties
Expand Down

0 comments on commit cc2c2ec

Please sign in to comment.