summaryrefslogtreecommitdiff
path: root/qpid/java/tools
diff options
context:
space:
mode:
authorAlex Rudyy <orudyy@apache.org>2014-11-13 15:52:03 +0000
committerAlex Rudyy <orudyy@apache.org>2014-11-13 15:52:03 +0000
commitff1ad8e3929aeecd5e3dcf6b8d039b4fb935b968 (patch)
tree7b47485df4e2659d0736263eea25e19703324487 /qpid/java/tools
parent349c7d6bf094ae5fb749c0c3920535a5bfec528f (diff)
downloadqpid-python-ff1ad8e3929aeecd5e3dcf6b8d039b4fb935b968.tar.gz
QPID-6158: Close consumer session when 'closeConsumers' argument is specified in order to stop the dispatcher thread
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1639375 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/tools')
-rw-r--r--qpid/java/tools/src/main/java/org/apache/qpid/tools/StressTestClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/tools/src/main/java/org/apache/qpid/tools/StressTestClient.java b/qpid/java/tools/src/main/java/org/apache/qpid/tools/StressTestClient.java
index 5bf1864b4f..6494a2e800 100644
--- a/qpid/java/tools/src/main/java/org/apache/qpid/tools/StressTestClient.java
+++ b/qpid/java/tools/src/main/java/org/apache/qpid/tools/StressTestClient.java
@@ -308,7 +308,7 @@ public class StressTestClient
if(closeConsumers)
{
- consumer.close();
+ sess.close();
}
}