msg1.setBooleanProperty("booleanprop",true);
msg1.setLongProperty("longproperty",67l);
msg1.setFloatProperty("floatproperty",4.6f);
super.initializeMessage(msg1);
for (int i = 0; i < count; i++){
byte[] data = writer.writePacketToByteArray(msg1);
msg2 = (ActiveMQStreamMessage) reader.readPacketFromByteArray(data);
}
long finishTime = System.currentTimeMillis();
long totalTime = finishTime-startTime;
long ps = (count * 1000)/totalTime;