diff options
author | Martin Ritchie <ritchiem@apache.org> | 2007-01-22 16:47:06 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2007-01-22 16:47:06 +0000 |
commit | 5cd7d4b442fb8552e3ce032e3a788fd0d52261da (patch) | |
tree | 72f5016d27a3178633c41b833e51fceb113eb4bd | |
parent | ecf56d8f28474ef8609a2b815fd1a8e46458b6b6 (diff) | |
download | qpid-python-5cd7d4b442fb8552e3ce032e3a788fd0d52261da.tar.gz |
QPID-308 Configurable timeout on blockForFrame.
Stopping on InterruptedException is not correct logic.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498690 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/protocol/BlockingMethodFrameListener.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/protocol/BlockingMethodFrameListener.java b/java/client/src/main/java/org/apache/qpid/client/protocol/BlockingMethodFrameListener.java index 1656695ba9..ff38b96e63 100644 --- a/java/client/src/main/java/org/apache/qpid/client/protocol/BlockingMethodFrameListener.java +++ b/java/client/src/main/java/org/apache/qpid/client/protocol/BlockingMethodFrameListener.java @@ -119,11 +119,11 @@ public abstract class BlockingMethodFrameListener implements AMQMethodListener catch (InterruptedException e) { // IGNORE -- //fixme this isn't ideal as being interrupted isn't equivellant to sucess - if (!_ready && timeout != -1) - { - _error = new AMQException("Server did not respond timely"); - _ready = true; - } +// if (!_ready && timeout != -1) +// { +// _error = new AMQException("Server did not respond timely"); +// _ready = true; +// } } } } |