camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r730923 - in /activemq/camel/trunk/components/camel-mail/src: main/java/org/apache/camel/component/mail/MailConfiguration.java main/java/org/apache/camel/component/mail/security/ test/java/org/apache/camel/component/mail/security/
Date Sat, 03 Jan 2009 06:30:31 GMT
Author: ningjiang
Date: Fri Jan  2 22:30:31 2009
New Revision: 730923

URL: http://svn.apache.org/viewvc?rev=730923&view=rev
Log:
CAMEL-1215 Moved the DummyTrustManager and DummySSLSocketFactory into src/test/java directory

Added:
    activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/security/
  (props changed)
      - copied from r730887, activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/security/
Removed:
    activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/security/
Modified:
    activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java

Modified: activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java?rev=730923&r1=730922&r2=730923&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
(original)
+++ activemq/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
Fri Jan  2 22:30:31 2009
@@ -26,7 +26,6 @@
 import javax.mail.PasswordAuthentication;
 import javax.mail.Session;
 
-import org.apache.camel.component.mail.security.DummySSLSocketFactory;
 import org.springframework.mail.javamail.JavaMailSenderImpl;
 
 /**
@@ -163,7 +162,7 @@
 
         if (dummyTrustManager && isSecureProtocol()) {
             // set the custom SSL properties
-            properties.put("mail." + protocol + ".socketFactory.class", DummySSLSocketFactory.class.getName());
+            properties.put("mail." + protocol + ".socketFactory.class", "org.apache.camel.component.mail.security.DummySSLSocketFactory");
             properties.put("mail." + protocol + ".socketFactory.fallback", "false");
             properties.put("mail." + protocol + ".socketFactory.port", "" + port);
         }

Propchange: activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/security/
------------------------------------------------------------------------------
    svn:mergeinfo = 



Mime
View raw message