https://issues.apache.org/jira/browse/AMQ-4180 - fix regression in org.apache.activemq.broker.BrokerRedeliveryTest

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-11-29 22:04:32 +00:00
parent 81a2c83608
commit ec0a0a3ebe
1 changed files with 2 additions and 0 deletions

View File

@ -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);