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
|
@ -146,6 +146,15 @@ public abstract class TransportFactory {
|
|||
throw IOExceptionSupport.create(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue