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:
Hiram R. Chirino 2009-02-12 20:29:31 +00:00
parent a18a55f75c
commit e16a63815f
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public abstract class TransportFactory {
}
protected WireFormatFactory createWireFormatFactory(Map<String, String> options) throws IOException {
String wireFormat = (String)options.get("wireFormat");
String wireFormat = (String)options.remove("wireFormat");
if (wireFormat == null) {
wireFormat = getDefaultWireFormatType();
}