Skip to content

Commit

Permalink
update idle-timeout (#32817)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuTo authored Jan 9, 2023
1 parent 8acf0e2 commit 536bf8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions sdk/spring/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This section includes changes in `spring-cloud-azure-autoconfigure` module.
#### Breaking Changes
- Remove the `public` access modifier from bean methods [#32514](https://github.com/Azure/azure-sdk-for-java/pull/32514).
- Remove Cloud Foundry support [#32616](https://github.com/Azure/azure-sdk-for-java/pull/32616).
- Change the default value of `spring.jms.servicebus.idle-timeout` from 30 minutes to 2 minutes [#32817](https://github.com/Azure/azure-sdk-for-java/pull/32817).

#### Bugs Fixed
- Remove unused class `RestTemplateProxyCustomizerConfiguration` [#32616](https://github.com/Azure/azure-sdk-for-java/pull/32616)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ public class AzureServiceBusJmsProperties implements InitializingBean {
*/
private String topicClientId;
/**
* Connection idle timeout duration.
* Connection idle timeout duration that how long the client expects Service Bus to keep a connection alive when no messages delivered.
* @see <a href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#doc-doc-idle-time-out">AMQP specification</a>
* @see <a href="https://learn.microsoft.com/azure/service-bus-messaging/service-bus-amqp-troubleshoot#link-is-not-created">Service Bus AMQP Errors</a>
*/
private Duration idleTimeout = Duration.ofMinutes(30);
private Duration idleTimeout = Duration.ofMinutes(2);
/**
* Pricing tier for a Service Bus namespace.
*/
Expand Down

0 comments on commit 536bf8e

Please sign in to comment.