Azure / azure-service-bus-java

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

Fixing a rare case of AuthorizationFailedException #373

Closed yvgopal closed 5 years ago

yvgopal commented 5 years ago

Some customers use a cached QueueClient or MessageSender to send messages. If a client or sender remains idle for 15 minutes, the service closes the connection as idle connection. In some rare cases, the service closes the connection just when the client is trying to open a link on the same connection. If the connection is closed by service after CBS token is sent, link open operation was failing with AuthorizationFailed exception.