mirror of https://github.com/apache/activemq.git
attempt to prevent receive blocking in the event of messages present on slower machines or solaris
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc63a92339
commit
dbefbecf1a
|
@ -17,8 +17,6 @@
|
|||
package org.apache.activemq.network;
|
||||
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
public class DuplexNetworkTest extends SimpleNetworkTest {
|
||||
|
||||
|
|
|
@ -170,6 +170,8 @@ public class SimpleNetworkTest extends TestCase {
|
|||
localBroker.start();
|
||||
URI localURI = localBroker.getVmConnectorURI();
|
||||
ActiveMQConnectionFactory fac = new ActiveMQConnectionFactory(localURI);
|
||||
fac.setAlwaysSyncSend(true);
|
||||
fac.setDispatchAsync(false);
|
||||
localConnection = fac.createConnection();
|
||||
localConnection.setClientID("local");
|
||||
localConnection.start();
|
||||
|
|
Loading…
Reference in New Issue