mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@423784 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fc3e8ee7f
commit
98a6f181ca
|
@ -70,6 +70,11 @@ public class WireFormatNegotiator extends TransportFilter {
|
|||
}
|
||||
}
|
||||
|
||||
public void stop() throws Exception {
|
||||
super.stop();
|
||||
readyCountDownLatch.countDown();
|
||||
}
|
||||
|
||||
public void oneway(Command command) throws IOException {
|
||||
try {
|
||||
if( !readyCountDownLatch.await(negotiateTimeout, TimeUnit.MILLISECONDS) )
|
||||
|
|
Loading…
Reference in New Issue