activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r743870 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java
Date Thu, 12 Feb 2009 20:29:32 GMT
Author: chirino
Date: Thu Feb 12 20:29:31 2009
New Revision: 743870

URL: http://svn.apache.org/viewvc?rev=743870&view=rev
Log:
The wireFormat option needs to get removed otherwise you'll get an error saying that it's
unrecognized

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java?rev=743870&r1=743869&r2=743870&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/TransportFactory.java
Thu Feb 12 20:29:31 2009
@@ -214,7 +214,7 @@
     }
 
     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();
         }



Mime
View raw message