281282283284285286287
HornetQBuffer newBuffer = buffer.copy(0, buffer.capacity()); newBuffer.setIndex(0, getEndOfBodyPosition()); return new ResetLimitWrappedHornetQBuffer(BODY_OFFSET, newBuffer, null); }
258259260261262263264265266267
public HornetQBuffer getBodyBuffer() { if (bodyBuffer == null) { bodyBuffer = new ResetLimitWrappedHornetQBuffer(BODY_OFFSET, buffer, this); } return bodyBuffer; }
272273274275276277278
167168169170171172173174175176177
{ bodySize = Integer.MAX_VALUE; } createBody((int)bodySize); bodyBuffer = new ResetLimitWrappedHornetQBuffer(BODY_OFFSET, buffer, this); try { largeMessageController.saveBuffer(new HornetQOutputStream(bodyBuffer)); }
264265266267268269270271272273
278279280281282283284
192193194195196197198199200201202
260261262263264265266267268269
249250251252253254255256257258259
{ if (bodyBuffer == null) { if (buffer instanceof LargeMessageBufferInternal == false) { bodyBuffer = new ResetLimitWrappedHornetQBuffer(BODY_OFFSET, buffer, this); } else { return buffer; }