azure-service-bus-java icon indicating copy to clipboard operation
azure-service-bus-java copied to clipboard

Allow session handling for specific session IDs in SubscriptionClient

Open damiandiaz76 opened this issue 8 years ago • 4 comments

Feature request:

Allow specifying specific session IDs when registering a session handler in SubscriptionClient.

ClientFactory allows specific session IDs (acceptSessionFrom...) but to use it directly means you need to manage your own IMessageSession lifecycle.

Versions

  • Maven package version or commit ID: com.microsoft.azure:azure-servicebus:1.0.0

damiandiaz76 avatar Sep 01 '17 20:09 damiandiaz76

We will discuss in the team and see if we can add this feature to the client.

yvgopal avatar Sep 01 '17 23:09 yvgopal

On the flip side, would there be a way to do the same for QueueClients? Or Possibly add it as a SessionHandlerOptions to be able to set the session id?

klam2010 avatar Feb 06 '19 21:02 klam2010

It is the same for QueueClient and SubscriptionClient. We have SDKs for multiple langugages, and we haven't yet finalized an API model for this. Let it be known that we are taking a serious look at this.

yvgopal avatar Feb 06 '19 22:02 yvgopal

#please-close

xurui203 avatar May 16 '19 23:05 xurui203