Improper behaviour of setters and getters in various types of messages
The following methods behave wrongly: BytesMessage.writeByte(byteValue); StreamMessage.writeByte(byteValue); ... with byteValue set as follows: byte byteValue = 127; -> should not throw any exception.
StreamMessage.writeString(null); -> should not throw any exception.
ObjectMessage.setObject(o); o.modify(); -> should not affect the message body.
message.setProperty(...); producer.send(message); message.setProperty(...); -> should be permitted.
StreamMessage msg = ...; msg.writeBoolean(...); msg.readString(); -> should throw a MessageFormatException.