mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4328 - regression in AMQ3274Test, need to sync demand sub creation on async vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
97655400e9
commit
f4bed15738
|
@ -875,7 +875,7 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br
|
|||
|
||||
protected void addSubscription(DemandSubscription sub) throws IOException {
|
||||
if (sub != null) {
|
||||
localBroker.oneway(sub.getLocalInfo());
|
||||
localBroker.request(sub.getLocalInfo());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -109,8 +109,8 @@ public class AMQ3274Test {
|
|||
if (cons_client.getNumMsgReceived() == tot_expected) {
|
||||
LOG.info("Have " + tot_expected + " messages, as-expected");
|
||||
} else {
|
||||
LOG.error("Have " + cons_client.getNumMsgReceived() + " messages; expected " + tot_expected);
|
||||
testError = true;
|
||||
LOG.info("Have " + cons_client.getNumMsgReceived() + " messages; expected " + tot_expected);
|
||||
}
|
||||
|
||||
resp_cons.close();
|
||||
|
|
Loading…
Reference in New Issue