james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r998883 - /james/server/trunk/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueue.java
Date Mon, 20 Sep 2010 10:52:38 GMT
Author: norman
Date: Mon Sep 20 10:52:37 2010
New Revision: 998883

URL: http://svn.apache.org/viewvc?rev=998883&view=rev
Log:
Add a comment to refer to an open jira issue of ActiveMQ

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=998883&r1=998882&r2=998883&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
Mon Sep 20 10:52:37 2010
@@ -88,7 +88,7 @@ public class ActiveMQMailQueue implement
     private final static String JAMES_MAIL_ATTRIBUTE_NAMES = "JAMES_MAIL_ATTRIBUTE_NAMES";
     private final static String JAMES_BLOB_URL = "JAMES_BLOB_URL";
     
-    private final static int NO_DELAY = -1;
+    public final static int NO_DELAY = -1;
     public final static int DISABLE_TRESHOLD = -1;
     public final static int BLOBMESSAGE_ONLY = 0;
 
@@ -141,8 +141,9 @@ public class ActiveMQMailQueue implement
             operation.process(mail);
             session.commit();
             if (message instanceof ActiveMQBlobMessage) {
-                
                 // delete the file
+            	// This should get removed once this jira issue was fixed
+            	// https://issues.apache.org/activemq/browse/AMQ-1529
                 try {
                     ((ActiveMQBlobMessage) message).deleteFile();
                 } catch (IOException e) {



---------------------------------------------------------------------
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