Skip to content

Commit a2dddb0

Browse files
author
Simon MacMullen
committed
Don't leak queues!
1 parent ad56a9d commit a2dddb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/src/com/rabbitmq/examples/perf/ScenarioFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ private static <T> T read0(String key, Map map, Class<T> clazz) {
6666

6767
private static MulticastParams paramsFromJSON(Map json) {
6868
MulticastParams params = new MulticastParams();
69+
params.setAutoDelete(true);
6970
for (Object key : json.keySet()) {
7071
PerfUtil.setValue(params, hyphensToCamel((String)key), json.get(key));
7172
}

0 commit comments

Comments
 (0)