A list is just what it sounds like. If you look at the code in the Java src you can see that they are just written as a series of primitives, with a leading size. Should be pretty simple to take this logic and insert it into the PrimitiveMapMarshaler.
public static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException { out.writeInt(list.size()); for (Iterator iter = list.iterator(); iter.hasNext();) { Object element = (Object)iter.next(); marshalPrimitive(out, element); } } public static List<Object> unmarshalPrimitiveList(DataInputStream in) throws IOException { int size = in.readInt(); List<Object> answer = new ArrayList<Object>(size); while (size-- > 0) { answer.add(unmarshalPrimitive(in)); } return answer; } On Thu, 2008-03-06 at 14:11 -0800, stevenbohrer wrote: > Tim, > > As suggested, I'll continue this correspondence in this thread. > > I decided to just modify the PrimitiveMap.* and MarshalPrimitiveMap.* files > in a manner consistent with what had already been done. The java example I > saw didn't mesh well with the cpp files. This is now completed and seems to > be working (checking it in, testing, etc, will be on the backburner for > awhile) > > However, I have another problem. Apparently we are using LIST_TYPE as well > and that is not supported in ActiveMQ CPP either. I don't understand this > type nearly as well. Are we simply talking about a Map without key names? > >