You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by bh...@apache.org on 2007/03/01 16:14:30 UTC

svn commit: r513376 - in /incubator/qpid/branches/perftesting/qpid/java/broker: etc/virtualhosts.xml src/main/java/org/apache/qpid/server/queue/AMQQueue.java

Author: bhupendrab
Date: Thu Mar  1 07:14:29 2007
New Revision: 513376

URL: http://svn.apache.org/viewvc?view=rev&rev=513376
Log:
Fixing in the perftesting branch 

Revision: 507583
Author: bhupendrab
Date: 15:39:21, 14 February 2007
Message:
QPID-367 
added @Configured annotation to the maximumMessageSize attribute
----
Modified : /incubator/qpid/trunk/qpid/java/broker/etc/virtualhosts.xml
Modified : /incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java




Modified:
    incubator/qpid/branches/perftesting/qpid/java/broker/etc/virtualhosts.xml
    incubator/qpid/branches/perftesting/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java

Modified: incubator/qpid/branches/perftesting/qpid/java/broker/etc/virtualhosts.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/perftesting/qpid/java/broker/etc/virtualhosts.xml?view=diff&rev=513376&r1=513375&r2=513376
==============================================================================
--- incubator/qpid/branches/perftesting/qpid/java/broker/etc/virtualhosts.xml (original)
+++ incubator/qpid/branches/perftesting/qpid/java/broker/etc/virtualhosts.xml Thu Mar  1 07:14:29 2007
@@ -46,11 +46,12 @@
             </queue>
         </localhost>
     </virtualhost>
-	<virtualhost>
+    <virtualhost>
         <name>development</name>
+        
+        <development>
         <minimumAlertRepeatGap>30000</minimumAlertRepeatGap>
         <maximumMessageCount>5000</maximumMessageCount>
-        <development>
             <queue>
                 <name>queue</name>
                 <queue>
@@ -71,11 +72,12 @@
             </queue>
         </development>
     </virtualhost>
-		<virtualhost>
+        <virtualhost>
             <name>test</name>
+            
+            <test>
             <minimumAlertRepeatGap>30000</minimumAlertRepeatGap>
             <maximumMessageCount>5000</maximumMessageCount>
-            <test>
                 <queue>
                     <name>queue</name>
                     <queue>

Modified: incubator/qpid/branches/perftesting/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/perftesting/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java?view=diff&rev=513376&r1=513375&r2=513376
==============================================================================
--- incubator/qpid/branches/perftesting/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java (original)
+++ incubator/qpid/branches/perftesting/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueue.java Thu Mar  1 07:14:29 2007
@@ -74,6 +74,7 @@
     private final AMQQueueMBean _managedObject;
 
     /** max allowed size(KB) of a single message */
+    @Configured(path = "maximumMessageSize", defaultValue = "0")
     private long _maximumMessageSize = 10000;
 
     /** max allowed number of messages on a queue. */