Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 64714 invoked from network); 17 Aug 2009 11:46:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 11:46:03 -0000 Received: (qmail 51527 invoked by uid 500); 17 Aug 2009 11:46:09 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 51487 invoked by uid 500); 17 Aug 2009 11:46:09 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 51478 invoked by uid 99); 17 Aug 2009 11:46:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 11:46:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 11:46:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A731B23888A2; Mon, 17 Aug 2009 11:45:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r804944 - in /camel/trunk: components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/ examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ platforms/karaf/features/ platforms/kara... Date: Mon, 17 Aug 2009 11:45:44 -0000 To: commits@camel.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090817114544.A731B23888A2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Mon Aug 17 11:45:43 2009 New Revision: 804944 URL: http://svn.apache.org/viewvc?rev=804944&view=rev Log: Updated the features.xml for javax.mail bundle Modified: camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java camel/trunk/platforms/karaf/features/pom.xml camel/trunk/platforms/karaf/features/src/main/resources/features.xml camel/trunk/tests/camel-itest-osgi/pom.xml camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/MailRouteTest.java Modified: camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml (original) +++ camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml Mon Aug 17 11:45:43 2009 @@ -35,6 +35,7 @@ matchOnUriPrefix true + contextConfigLocation /org/apache/camel/component/servlet/camelContext.xml Modified: camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java (original) +++ camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java Mon Aug 17 11:45:43 2009 @@ -77,8 +77,6 @@ @Configuration public static Option[] configure() { Option[] options = options( - // install log service using pax runners profile abstraction (there are more profiles, like DS) - logProfile().version("1.3.0"), // install the spring dm profile profile("spring.dm").version("1.2.0"), // this is how you set the default log level when using pax logging (logProfile) @@ -88,11 +86,13 @@ // using the features to install the camel components scanFeatures(mavenBundle().groupId("org.apache.camel.karaf"). artifactId("features").versionAsInProject().type("xml/features"), - "camel-core", "camel-osgi", "camel-spring", "camel-test", "camel-velocity", "camel-cxf", "camel-mail"), + "camel-core", "camel-osgi", "camel-spring", "camel-test", "camel-velocity", "camel-cxf"), // Added the mock_java_mail bundle for testing mavenBundle().groupId("org.apache.camel.tests").artifactId("org.apache.camel.tests.mock-javamail_1.7").versionAsInProject(), + mavenBundle().groupId("org.apache.camel").artifactId("camel-mail").versionAsInProject(), + // create a customer bundle start up the report incident bundle bundle(newBundle().addClass(InputReportIncident.class) .addClass(ObjectFactory.class) Modified: camel/trunk/platforms/karaf/features/pom.xml URL: http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/pom.xml?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/platforms/karaf/features/pom.xml (original) +++ camel/trunk/platforms/karaf/features/pom.xml Mon Aug 17 11:45:43 2009 @@ -54,7 +54,6 @@ 1.0.1 1.0 1.0.1 - 1.6_1 1.1.2 1.1.1 1.2-dev1_1 @@ -88,7 +87,9 @@ 1.3.0 2.5-20081211 3.0.4_1 - 1.0.0-20090215 + 1.0.0-20090215 + 1.1.1 + 1.4.1 3.2_1 1.2_1 1.6.2_1 Modified: camel/trunk/platforms/karaf/features/src/main/resources/features.xml URL: http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/main/resources/features.xml?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/platforms/karaf/features/src/main/resources/features.xml (original) +++ camel/trunk/platforms/karaf/features/src/main/resources/features.xml Mon Aug 17 11:45:43 2009 @@ -1,7 +1,7 @@ - mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/${servicemix-specs-version} + mvn:javax.activation/com.springsource.javax.activation/${spring-javax-activation-version} mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.1/${servicemix-specs-version} mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix-specs-version} mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/${jaxb-bundle-version} @@ -54,7 +54,7 @@ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/${velocity-bundle-version} mvn:org.apache.ws.commons.axiom/axiom-impl/${axiom-version} mvn:org.apache.ws.commons.axiom/axiom-api/${axiom-version} - mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.javamail-api-1.4/${servicemix-specs-version} + mvn:javax.mail/com.springsource.javax.mail/${spring-javax-mail-version} mvn:org.apache.neethi/neethi/${neethi-version} mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.abdera/${abdera-bundle-version} mvn:org.apache.geronimo.specs/geronimo-jaxws_2.1_spec/${geronimo-jaxws-spec-version} @@ -309,8 +309,7 @@ mvn:org.springframework/spring-context/${spring-version} mvn:org.springframework/spring-context-support/${spring-version} - mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.javamail-api-1.4/${servicemix-specs-version} - mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.geronimo-javamail_1.4_provider/${geronimo-javamail-1.4-version} + mvn:javax.mail/com.springsource.javax.mail/${spring-javax-mail-version} camel-core mvn:org.apache.camel/camel-mail/${pom.version} @@ -337,10 +336,6 @@ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/${commons-dbcp-bundle-version} mvn:commons-collections/commons-collections/${commons-collections-version} mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/${commons-beanutils-bundle-version} - mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${geronimo-jta-spec-version} - mvn:org.mortbay.jetty/servlet-api/${servlet-api-2.5-version} - mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.javamail-api-1.4/${servicemix-specs-version} - mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/${geronimo-jms-spec-version} mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/${quartz-bundle-version} camel-core mvn:org.apache.camel/camel-quartz/${pom.version} Modified: camel/trunk/tests/camel-itest-osgi/pom.xml URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/tests/camel-itest-osgi/pom.xml (original) +++ camel/trunk/tests/camel-itest-osgi/pom.xml Mon Aug 17 11:45:43 2009 @@ -140,7 +140,7 @@ org.apache.camel - camel-test + camel-mail test Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/MailRouteTest.java URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/MailRouteTest.java?rev=804944&r1=804943&r2=804944&view=diff ============================================================================== --- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/MailRouteTest.java (original) +++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/MailRouteTest.java Mon Aug 17 11:45:43 2009 @@ -106,10 +106,10 @@ from("pop3://route-test-james@localhost?consumer.delay=1000") .to("direct:a"); - // must use fixed to option to send the mail to the given reciever, as we have polled + // must use fixed to option to send the mail to the given receiver, as we have polled // a mail from a mailbox where it already has the 'old' To as header value - // here we send the mail to 2 recievers. notice we can use a plain string with semi colon - // to seperate the mail addresses + // here we send the mail to 2 receivers. notice we can use a plain string with semi colon + // to separate the mail addresses from("direct:a") .setHeader("to", constant("route-test-result@localhost; route-test-copy@localhost")) .to("smtp://localhost"); @@ -124,7 +124,7 @@ public static Option[] configure() { Option[] options = options( // install log service using pax runners profile abstraction (there are more profiles, like DS) - logProfile().version("1.3.0"), + //logProfile().version("1.3.0"), // install the spring dm profile profile("spring.dm").version("1.2.0"), // this is how you set the default log level when using pax logging (logProfile) @@ -133,11 +133,16 @@ // using the features to install the camel components scanFeatures(mavenBundle().groupId("org.apache.camel.karaf"). artifactId("features").versionAsInProject().type("xml/features"), - "camel-core", "camel-osgi", "camel-spring", "camel-test", "camel-mail"), + "camel-core", "camel-osgi", "camel-spring", "camel-test"), + + // using the java mail API bundle + mavenBundle().groupId("org.apache.servicemix.specs").artifactId("org.apache.servicemix.specs.javamail-api-1.4").version("1.3.0"), + + mavenBundle().groupId("org.apache.camel").artifactId("camel-mail").versionAsInProject(), // Added the mock_java_mail bundle for testing - mavenBundle().groupId("org.apache.camel.tests").artifactId("org.apache.camel.tests.mock-javamail_1.7").versionAsInProject(), - + mavenBundle().groupId("org.apache.camel.tests").artifactId("org.apache.camel.tests.mock-javamail_1.7").versionAsInProject(), + felix()); return options;