mirror of https://github.com/apache/activemq.git
Patch applied for https://issues.apache.org/activemq/browse/AMQ-1607
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ba4853402
commit
c338d3e0e5
|
@ -147,6 +147,15 @@ public abstract class TransportFactory {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allow registration of a transport factory without wiring via META-INF classes
|
||||||
|
* @param scheme
|
||||||
|
* @param tf
|
||||||
|
*/
|
||||||
|
public static void registerTransportFactory(String scheme, TransportFactory tf) {
|
||||||
|
TRANSPORT_FACTORYS.put(scheme, tf);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory method to create a new transport
|
* Factory method to create a new transport
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue