Skip to content

[FEATURE REQ] Service Bus: IMessageAndSessionPump visibility #7536

@ryan-murphy-sc

Description

@ryan-murphy-sc

Is your feature request related to a problem? Please describe.
I am writing common code for receiving from queues and topics. I create either QueueClient or SubscriptionClient. From there I use the registerMessageHandler method from the IMessageAndSessionPump interface. However, this interface is package private, so I cannot code to the interface and instead need to duplicate some logic and methods to take both class types.

Describe the solution you'd like
Would like IMessageAndSessionPump to be public.

Describe alternatives you've considered

Additional context

Information Checklist

  • Description Added
  • Expected solution specified

Thanks
Ryan

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Service Buscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions