mirror of https://github.com/apache/activemq.git
making a test work through the proxy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1042819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c0c55ae2a5
commit
a332127cc2
|
@ -52,9 +52,12 @@ public class AMQ2764Test extends TestCase {
|
||||||
|
|
||||||
public void testBrokerRestart() throws Exception {
|
public void testBrokerRestart() throws Exception {
|
||||||
|
|
||||||
startBrokerOne();
|
|
||||||
Thread.sleep(5000);
|
|
||||||
startBrokerTwo();
|
startBrokerTwo();
|
||||||
|
brokerTwo.waitUntilStarted();
|
||||||
|
|
||||||
|
startBrokerOne();
|
||||||
|
brokerOne.waitUntilStarted();
|
||||||
|
|
||||||
Thread.sleep(5000);
|
Thread.sleep(5000);
|
||||||
|
|
||||||
ActiveMQConnectionFactory producerConnectionFactory = createBrokerOneConnectionFactory();
|
ActiveMQConnectionFactory producerConnectionFactory = createBrokerOneConnectionFactory();
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
</destinations>
|
</destinations>
|
||||||
|
|
||||||
<networkConnectors>
|
<networkConnectors>
|
||||||
|
<!--<networkConnector uri="static:(http://localhost:61617?proxyHost=localhost&proxyPort=80)" duplex="true">-->
|
||||||
<networkConnector uri="static:(http://localhost:61617)" duplex="true">
|
<networkConnector uri="static:(http://localhost:61617)" duplex="true">
|
||||||
<staticallyIncludedDestinations>
|
<staticallyIncludedDestinations>
|
||||||
<queue physicalName="RECONNECT.TEST.QUEUE"/>
|
<queue physicalName="RECONNECT.TEST.QUEUE"/>
|
||||||
|
|
Loading…
Reference in New Issue