james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1228162 - in /james/server/trunk/queue-jms: pom.xml src/main/java/org/apache/james/queue/jms/JMSMailQueue.java
Date Fri, 06 Jan 2012 13:01:40 GMT
Author: eric
Date: Fri Jan  6 13:01:40 2012
New Revision: 1228162

URL: http://svn.apache.org/viewvc?rev=1228162&view=rev
Log:
Fix the mail queuing with org.apache.james.protocols.smtp.MailAddress usage (JAMES-1360)

Modified:
    james/server/trunk/queue-jms/pom.xml
    james/server/trunk/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueue.java

Modified: james/server/trunk/queue-jms/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/queue-jms/pom.xml?rev=1228162&r1=1228161&r2=1228162&view=diff
==============================================================================
--- james/server/trunk/queue-jms/pom.xml (original)
+++ james/server/trunk/queue-jms/pom.xml Fri Jan  6 13:01:40 2012
@@ -78,6 +78,10 @@
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-annotation_1.1_spec</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.james.protocols</groupId>
+            <artifactId>protocols-smtp</artifactId>
+        </dependency>
 
         <!-- test dependencies -->
         <dependency>

Modified: james/server/trunk/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueue.java
URL: http://svn.apache.org/viewvc/james/server/trunk/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueue.java?rev=1228162&r1=1228161&r2=1228162&view=diff
==============================================================================
--- james/server/trunk/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueue.java
(original)
+++ james/server/trunk/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueue.java
Fri Jan  6 13:01:40 2012
@@ -305,7 +305,7 @@ public class JMSMailQueue implements Man
 
         StringBuilder recipientsBuilder = new StringBuilder();
 
-        Iterator<MailAddress> recipients = mail.getRecipients().iterator();
+        Iterator<org.apache.james.protocols.smtp.MailAddress> recipients = mail.getRecipients().iterator();
         while (recipients.hasNext()) {
             String recipient = recipients.next().toString();
             recipientsBuilder.append(recipient.trim());



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