mirror of https://github.com/apache/activemq.git
The wireFormat option needs to get removed otherwise you'll get an error saying that it's unrecognized
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a18a55f75c
commit
e16a63815f
|
@ -214,7 +214,7 @@ public abstract class TransportFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected WireFormatFactory createWireFormatFactory(Map<String, String> options) throws IOException {
|
protected WireFormatFactory createWireFormatFactory(Map<String, String> options) throws IOException {
|
||||||
String wireFormat = (String)options.get("wireFormat");
|
String wireFormat = (String)options.remove("wireFormat");
|
||||||
if (wireFormat == null) {
|
if (wireFormat == null) {
|
||||||
wireFormat = getDefaultWireFormatType();
|
wireFormat = getDefaultWireFormatType();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue