activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1415404 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java
Date Thu, 29 Nov 2012 22:04:33 GMT
Author: gtully
Date: Thu Nov 29 22:04:32 2012
New Revision: 1415404

URL: http://svn.apache.org/viewvc?rev=1415404&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-4180 - fix regression in org.apache.activemq.broker.BrokerRedeliveryTest

Modified:
    activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java

Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java?rev=1415404&r1=1415403&r2=1415404&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java
(original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java
Thu Nov 29 22:04:32 2012
@@ -138,6 +138,8 @@ public final class MarshallingSupport {
             marshalByteArray(out, (byte[])value);
         } else if (value.getClass() == String.class) {
             marshalString(out, (String)value);
+        } else  if (value.getClass() == UTF8Buffer.class) {
+            marshalString(out, value.toString());
         } else if (value instanceof Map) {
             out.writeByte(MAP_TYPE);
             marshalPrimitiveMap((Map)value, out);



Mime
View raw message