Azure / azure-service-bus-java

☁️ Java client library for Azure Service Bus
https://azure.microsoft.com/services/service-bus
MIT License
60 stars 58 forks source link

Allow session handling for specific session IDs in SubscriptionClient #121

Open damiandiaz76 opened 7 years ago

damiandiaz76 commented 7 years ago

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

yvgopal commented 7 years ago

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

klam2010 commented 5 years ago

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?

yvgopal commented 5 years ago

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.

xurui203 commented 5 years ago

please-close