Skip to content

Commit

Permalink
To fix the intermittent connection drops and timeouts experienced by …
Browse files Browse the repository at this point in the history
…some customers. (#387)
  • Loading branch information
yvgopal authored Oct 22, 2019
1 parent 136376b commit 8d12d31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-servicebus/azure-servicebus.pom
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-servicebus</artifactId>
<version>1.2.16</version>
<version>1.2.17</version>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public void onConnectionLocalOpen(Event event)

Transport transport = Proton.transport();
transport.setMaxFrameSize(AmqpConstants.MAX_FRAME_SIZE);
// To fix connection drops that the client recognizes only with a delay of 15 or 20 minutes
transport.setIdleTimeout(60000);
transport.sasl();
transport.setEmitFlowEventOnSend(false);
transport.bind(connection);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<proton-j-version>0.31.0</proton-j-version>
<junit-version>4.12</junit-version>
<slf4j-version>1.7.0</slf4j-version>
<client-current-version>1.2.16</client-current-version>
<client-current-version>1.2.17</client-current-version>
</properties>

<modules>
Expand Down

0 comments on commit 8d12d31

Please sign in to comment.