Verifies that invoking readBytes() followed by clearBody() followed by readBytes() returns the expected result, when the first readBytes() call has not completed reading the array field. This verifies that clearBody() correctly clears the state of the message.



1 QueueConnectionFactory TRANSACTED StreamMessage Yes
2 QueueConnectionFactory AUTO StreamMessage Yes
3 QueueConnectionFactory CLIENT StreamMessage Yes
4 QueueConnectionFactory DUPS_OK StreamMessage Yes
5 TopicConnectionFactory TRANSACTED StreamMessage Yes
6 TopicConnectionFactory AUTO StreamMessage Yes
7 TopicConnectionFactory CLIENT StreamMessage Yes
8 TopicConnectionFactory DUPS_OK StreamMessage Yes