diff options
| author | Bhupendra Bhusman Bhardwaj <bhupendrab@apache.org> | 2007-02-14 15:39:21 +0000 |
|---|---|---|
| committer | Bhupendra Bhusman Bhardwaj <bhupendrab@apache.org> | 2007-02-14 15:39:21 +0000 |
| commit | 80e9cae3e7fd6bb8216c0b0ddf74a51c48784814 (patch) | |
| tree | 52a540a53738bc17deb8e697bae671b14f0fe55c /java/broker/src | |
| parent | ad724dd62db0f497e2d84ef3f56af6dd2839892d (diff) | |
| download | qpid-python-80e9cae3e7fd6bb8216c0b0ddf74a51c48784814.tar.gz | |
QPID-367
added @Configured annotation to the maximumMessageSize attribute
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507583 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src')
| -rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java b/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java index c114d2d25f..d5a2bb2994 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java +++ b/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java @@ -129,7 +129,8 @@ public class AMQQueue implements Managable, Comparable /** * max allowed size(KB) of a single message */ - private long _maximumMessageSize = 10000; + @Configured(path = "maximumMessageSize", defaultValue = "0") + public long _maximumMessageSize; /** * max allowed number of messages on a queue. @@ -141,19 +142,19 @@ public class AMQQueue implements Managable, Comparable * max queue depth for the queue */ @Configured(path = "maximumQueueDepth", defaultValue = "0") - public long _maximumQueueDepth = 10000000; + public long _maximumQueueDepth; -/* + /** * maximum message age before alerts occur */ @Configured(path = "maximumMessageAge", defaultValue = "0") - public long _maximumMessageAge = 30000; //0 + public long _maximumMessageAge; - /* + /** * the minimum interval between sending out consequetive alerts of the same type */ @Configured(path = "minimumAlertRepeatGap", defaultValue = "0") - public long _minimumAlertRepeatGap = 30000; + public long _minimumAlertRepeatGap; /** * total messages received by the queue since startup. |
