300301302303304305306307308309310
} } HornetQBuffer buffer = HornetQBuffers.wrappedBuffer(data); String originatingNodeID = buffer.readString(); String uniqueID = buffer.readString(); checkUniqueID(originatingNodeID, uniqueID);
302303304305306307308309310311312
HornetQBuffer buffer = HornetQBuffers.wrappedBuffer(data); String originatingNodeID = buffer.readString(); String uniqueID = buffer.readString(); checkUniqueID(originatingNodeID, uniqueID); if (nodeID.equals(originatingNodeID)) {
108109110111112113114115116117118
{ ClientMessage message2 = consumer.receive(); HornetQBuffer buffer = message2.getBodyBuffer(); Assert.assertEquals("testINVMCoreClient", buffer.readString()); message2.acknowledge(); } session.close();
4748495051525354555657
// Change the body HornetQBuffer buffer = message.getBodyBuffer(); buffer.readerIndex(0); String str = buffer.readString(); if (!str.equals("doo be doo be doo be doo")) { throw new IllegalStateException("Wrong body!!"); }
115116117118119120121122123124125
343344345346347348349350351352353
345346347348349350351352353354355
362363364365366367368369370371372
364365366367368369370371372373374