From e16a63815f20681c4c0550dbf1dfa156d32c62ef Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Thu, 12 Feb 2009 20:29:31 +0000 Subject: [PATCH] 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 --- .../java/org/apache/activemq/transport/TransportFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java b/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java index 7fe143795d..15e32349eb 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java @@ -214,7 +214,7 @@ public abstract class TransportFactory { } protected WireFormatFactory createWireFormatFactory(Map options) throws IOException { - String wireFormat = (String)options.get("wireFormat"); + String wireFormat = (String)options.remove("wireFormat"); if (wireFormat == null) { wireFormat = getDefaultWireFormatType(); }