diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-01-25 19:22:24 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-01-25 19:22:24 +0000 |
| commit | 97578951e5a0eb710ad97799f6f22a45f7769b8c (patch) | |
| tree | b4d0d8240f5d9e172b55517005f486e31b41b706 /java | |
| parent | e1d0232621cc1d84a19bde8cd0ea0ac05342708b (diff) | |
| download | qpid-python-97578951e5a0eb710ad97799f6f22a45f7769b8c.tar.gz | |
removed XXX exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@499928 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/queue/ConcurrentDeliveryManager.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/queue/ConcurrentDeliveryManager.java b/java/broker/src/main/java/org/apache/qpid/server/queue/ConcurrentDeliveryManager.java index 4609cce054..2e49a9d4b1 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/queue/ConcurrentDeliveryManager.java +++ b/java/broker/src/main/java/org/apache/qpid/server/queue/ConcurrentDeliveryManager.java @@ -142,8 +142,13 @@ public class ConcurrentDeliveryManager implements DeliveryManager private boolean addMessageToQueue(AMQMessage msg) { + // XXX: I don't think this will have an effect anymore because + // we don't allocate anymore space than we need. Also this + // seems like an odd place to do this. Why wouldn't we want to + // do this from a more central location on receiving the + // message? + // Shrink the ContentBodies to their actual size to save memory. - if (true) throw new Error("XXX"); /*if (compressBufferOnQueue) { Iterator it = msg.getContentBodies().iterator(); |
