Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various API Renames #15593

Merged
merged 3 commits into from
Oct 1, 2020
Merged

Various API Renames #15593

merged 3 commits into from
Oct 1, 2020

Conversation

JoshLove-msft
Copy link
Member

  • SendVia -> TransactionQueueOrTopicName
  • ViaPartitionKey -> TransactionPartitionKey
  • Proxy -> WebProxy

Make MaxReceiveTime internal within the ProcessorOptions.
Update entity name exception message.

Fixes #14986, #14975, #10646

@@ -99,7 +99,7 @@ internal class AmqpClient : TransportClient
ServiceEndpoint,
credential,
options.TransportType,
options.Proxy);
options.WebProxy);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where this came from, but I question the drift from the naming for the same concept in Event Hubs across the languages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was based on a comment from Clemens in the Api View.

{
entry[ManagementConstants.Properties.ViaPartitionKey] = message.ViaPartitionKey;
entry[ManagementConstants.Properties.ViaPartitionKey] = message.TransactionPartitionKey;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Should the constant member also be renamed to match?

@JoshLove-msft JoshLove-msft linked an issue Oct 1, 2020 that may be closed by this pull request
@JoshLove-msft JoshLove-msft merged commit 41da6a7 into Azure:master Oct 1, 2020
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Proxy property to WebProxy Improve exception message for entity name validation
3 participants