This closes #396

This commit is contained in:
Clebert Suconic 2016-02-19 13:36:19 -05:00
commit f9aca6c667
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,6 @@ import org.apache.activemq.artemis.api.jms.JMSFactoryType;
import org.apache.activemq.artemis.core.config.ClusterConnectionConfiguration;
import org.apache.activemq.artemis.core.config.Configuration;
import org.apache.activemq.artemis.core.config.impl.ConfigurationImpl;
import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
import org.apache.activemq.artemis.tests.util.JMSClusteredTestBase;
import org.junit.Test;
@ -169,8 +168,6 @@ public class LargeMessageOverBridgeTest extends JMSClusteredTestBase {
protected Configuration createConfigServer(final int source, final int destination) throws Exception {
Configuration config = super.createConfigServer(source, destination);
config.getAddressesSettings().put("#", new AddressSettings().setRedistributionDelay(0));
installHack(config);
return config;

View File

@ -26,6 +26,7 @@ import org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnectorFactory;
import org.apache.activemq.artemis.core.server.ActiveMQServer;
import org.apache.activemq.artemis.core.server.ActiveMQServers;
import org.apache.activemq.artemis.core.server.cluster.impl.MessageLoadBalancingType;
import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
import org.apache.activemq.artemis.jms.server.config.impl.JMSConfigurationImpl;
import org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl;
import org.apache.activemq.artemis.tests.integration.IntegrationTestLogger;
@ -174,6 +175,8 @@ public class JMSClusteredTestBase extends ActiveMQTestBase {
}
}));
configuration.getAddressesSettings().put("#", new AddressSettings().setRedistributionDelay(0));
return configuration;
}