mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3393 - Number of established STOMP connections constantly increasing. resolve contention over delayed stop. Add soLinger=0 for hudson builds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4cf6dae48b
commit
ac1c44f324
|
@ -40,7 +40,7 @@ public class ConnectTest {
|
||||||
brokerService = new BrokerService();
|
brokerService = new BrokerService();
|
||||||
brokerService.setPersistent(false);
|
brokerService.setPersistent(false);
|
||||||
brokerService.setAdvisorySupport(false);
|
brokerService.setAdvisorySupport(false);
|
||||||
brokerService.addConnector("stomp://0.0.0.0:61612");
|
brokerService.addConnector("stomp://0.0.0.0:61612?transport.soLinger=0");
|
||||||
brokerService.start();
|
brokerService.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue