[ https://issues.apache.org/activemq/browse/CAMEL-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-1215. --------------------------------- Resolution: Fixed trunk http://svn.apache.org/viewvc?rev=730923&view=rev camel-1.x http://svn.apache.org/viewvc?rev=730925&view=rev > Moved the DummyTrustManager and DummySSLSocketFactory into src/test/java > directory > ---------------------------------------------------------------------------------- > > Key: CAMEL-1215 > URL: https://issues.apache.org/activemq/browse/CAMEL-1215 > Project: Apache Camel > Issue Type: Improvement > Components: camel-mail > Reporter: Willem Jiang > Assignee: Willem Jiang > Priority: Minor > Fix For: 1.5.1, 2.0.0 > > > DummyTrustManager and DummySSLSocketFactory is for the unit test, so we need > to move it into src/test/java directory. > So we can avoid the class not found error in OSGI environment like this. > {code} > Could not find class > 'org/apache/camel/component/mail/security/DummyTrustManager.class' in any > classloaders: [BundleDelegatingClassLoader for [camel-mail-osgi > (camel-mail-osgi)], 102.0, > BundleDelegatingClassLoader for [camel-mail-osgi (camel-mail-osgi)], > BundleDelegatingClassLoader for [camel-mail-osgi (camel-mail-osgi)]] > Could not find class > 'org/apache/camel/component/mail/security/DummySSLSocketFactory.class' in any > classloaders: [BundleDelegatingClassLoader for [camel-mail-osgi > (camel-mail-osgi)], 102.0, > BundleDelegatingClassLoader for [camel-mail-osgi (camel-mail-osgi)], > BundleDelegatingClassLoader for [camel-mail-osgi (camel-mail-osgi)]] > {code} > If the other module wants to extends camel-mail, it should also include the > camel-mail-test.jar for unit testing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.