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

[service-bus] Lazy initialization #15164

Closed
2 of 4 tasks
richardpark-msft opened this issue Jul 27, 2021 · 2 comments
Closed
2 of 4 tasks

[service-bus] Lazy initialization #15164

richardpark-msft opened this issue Jul 27, 2021 · 2 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. Service Bus

Comments

@richardpark-msft
Copy link
Member

richardpark-msft commented Jul 27, 2021

In Track 2 SDKs creation methods the following methods should be 'lazy' in that you can call them without any network I/O:

  • CreateSender()
  • CreateReceiver

These methods, however, will create and initialize a link:

  • AcceptSession (accepts a session by name)
  • AcceptNextSession (accepts the next available session)

The Accept* methods are non-lazy so developers can reasonably expect to have locked the session at the point of creation.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 27, 2021
@richardpark-msft richardpark-msft added Client This issue points to a problem in the data-plane of the library. Service Bus labels Jul 27, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 27, 2021
@richardpark-msft richardpark-msft changed the title Lazy initialization [service-bus] Lazy initialization Jul 27, 2021
@RickWinter RickWinter added the feature-request This issue requires a new behavior in the product in order be resolved. label Jul 27, 2021
@richardpark-msft richardpark-msft added this to the [2021] September milestone Jul 27, 2021
@richardpark-msft
Copy link
Member Author

Moving session support to November.

@richardpark-msft
Copy link
Member Author

Actually, all the work is done for this.

Session support is covered in #15163.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. Service Bus
Projects
None yet
Development

No branches or pull requests

2 participants