msg.setProperty("floatProperty", Float.valueOf("1.1f"));
msg.setProperty("doubleProperty", Double.valueOf("1.1"));
msg.setProperty("booleanProperty", Boolean.TRUE);
msg.setProperty("nullProperty", null);
msg.beforeMarshall(new OpenWireFormat());
Map<String, Object> properties = msg.getProperties();
assertEquals(properties.get("stringProperty"), "string");
assertEquals(((Byte)properties.get("byteProperty")).byteValue(), 1);
assertEquals(((Short)properties.get("shortProperty")).shortValue(), 1);