From badc1868bb55a204083c3bb33afe268b2fe82a9a Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Tue, 20 Nov 2012 15:18:13 +0000 Subject: [PATCH] fix compilation error in amqp module git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1411695 13f79535-47bb-0310-9956-ffa450edef68 --- .../transport/amqp/transform/DroppingWritableBuffer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/transform/DroppingWritableBuffer.java b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/transform/DroppingWritableBuffer.java index a70c156c13..ca4d0e4d28 100644 --- a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/transform/DroppingWritableBuffer.java +++ b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/transform/DroppingWritableBuffer.java @@ -88,4 +88,9 @@ public class DroppingWritableBuffer implements WritableBuffer pos += payload.remaining(); payload.position(payload.limit()); } + + @Override + public int limit() { + return Integer.MAX_VALUE; + } }