mirror of https://github.com/apache/activemq.git
Allow the connector to override if async dispatch is allowed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
24d8986cee
commit
a53b2e80c6
|
@ -53,7 +53,7 @@ public class ManagedTransportConnector extends TransportConnector {
|
|||
|
||||
protected Connection createConnection(Transport transport) throws IOException {
|
||||
String connectionId = "" + getNextConnectionId();
|
||||
return new ManagedTransportConnection(this, transport, getBroker(), getTaskRunnerFactory(), mbeanServer, connectorName, connectionId);
|
||||
return new ManagedTransportConnection(this, transport, getBroker(), isDisableAsyncDispatch() ? null : getTaskRunnerFactory(), mbeanServer, connectorName, connectionId);
|
||||
}
|
||||
|
||||
protected static synchronized long getNextConnectionId() {
|
||||
|
|
Loading…
Reference in New Issue