james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1005069 - /james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java
Date Wed, 06 Oct 2010 14:55:50 GMT
Author: norman
Date: Wed Oct  6 14:55:50 2010
New Revision: 1005069

URL: http://svn.apache.org/viewvc?rev=1005069&view=rev
Log:
Add support for mail priority while dequeue mails from the ActiveMQMailQueue (JAMES-1058)

Modified:
    james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java

Modified: james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java
URL: http://svn.apache.org/viewvc/james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java?rev=1005069&r1=1005068&r2=1005069&view=diff
==============================================================================
--- james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java
(original)
+++ james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java
Wed Oct  6 14:55:50 2010
@@ -102,17 +102,17 @@ public class ActiveMQMailQueue implement
     /**
      * Handle mail with lowest priority
      */
-    public final static int LOW_PRIORITY = 1;
+    public final static int LOW_PRIORITY = 0;
     
     /**
      * Handle mail with normal priority (this is the default)
      */
-    public final static int NORMAL_PRIORITY = 2;
+    public final static int NORMAL_PRIORITY = 5;
     
     /**
      * Handle mail with highest priority
      */
-    public final static int HIGH_PRIORITY = 3;
+    public final static int HIGH_PRIORITY = 9;
     
     /**
      * Attribute name for support if priority. If the attribute is set and priority handling
is enabled it will take care of move the Mails with



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message