git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1515908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-08-20 18:12:33 +00:00
parent 40aa15ce52
commit 53ec6655b0
1 changed files with 1 additions and 1 deletions

View File

@ -926,7 +926,7 @@ public class ProtocolConverter {
} else {
try {
hbReadInterval = (long) (Long.parseLong(keepAliveOpts[0]) * hbGracePeriodMultiplier);
hbReadInterval = (Long.parseLong(keepAliveOpts[0]));
hbWriteInterval = Long.parseLong(keepAliveOpts[1]);
} catch(NumberFormatException e) {
throw new ProtocolException("Invalid heart-beat header:" + heartBeatConfig, true);