Author: ningjiang
Date: Mon Aug  9 12:04:51 2010
New Revision: 983602

URL: http://svn.apache.org/viewvc?rev=983602&view=rev
Log:
Added OSGi integration test for camel-rss component

Added:
    
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/
    
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
   (with props)
    
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/
    
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
   (with props)
Modified:
    camel/trunk/tests/camel-itest-osgi/pom.xml

Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=983602&r1=983601&r2=983602&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
+++ camel/trunk/tests/camel-itest-osgi/pom.xml Mon Aug  9 12:04:51 2010
@@ -104,6 +104,11 @@
       <artifactId>camel-shiro</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-rss</artifactId>
+      <scope>test</scope>
+    </dependency>
        <dependency>
          <groupId>org.apache.camel.tests</groupId>
          <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>

Added: 
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java?rev=983602&view=auto
==============================================================================
--- 
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
 (added)
+++ 
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
 Mon Aug  9 12:04:51 2010
@@ -0,0 +1,97 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.itest.osgi.rss;
+
+import java.net.URL;
+
+import com.sun.syndication.feed.synd.SyndFeed;
+import org.apache.camel.CamelException;
+import org.apache.camel.Exchange;
+import org.apache.camel.Message;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.component.rss.RssConstants;
+import org.apache.camel.itest.osgi.OSGiIntegrationTestSupport;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.junit.Configuration;
+import org.ops4j.pax.exam.junit.JUnit4TestRunner;
+
+import static org.ops4j.pax.exam.CoreOptions.equinox;
+import static org.ops4j.pax.exam.CoreOptions.felix;
+import static org.ops4j.pax.exam.CoreOptions.options;
+import static org.ops4j.pax.exam.container.def.PaxRunnerOptions.profile;
+import static org.ops4j.pax.exam.container.def.PaxRunnerOptions.scanFeatures;
+import static 
org.ops4j.pax.exam.container.def.PaxRunnerOptions.workingDirectory;
+
+...@runwith(JUnit4TestRunner.class)
+public class RssPollingConsumerTest extends OSGiIntegrationTestSupport {
+
+    @Test
+    public void testGrabbingListOfEntries() throws Exception {
+        MockEndpoint mock = getMockEndpoint("mock:result");
+        mock.expectedMessageCount(1);
+        mock.assertIsSatisfied();
+
+        Exchange exchange = mock.getExchanges().get(0);
+        Message in = exchange.getIn();
+        assertNotNull(in);
+        assertTrue(in.getBody() instanceof SyndFeed);
+        assertTrue(in.getHeader(RssConstants.RSS_FEED) instanceof SyndFeed);
+
+        SyndFeed feed = in.getHeader(RssConstants.RSS_FEED, SyndFeed.class);
+        assertTrue(feed.getAuthor().contains("Jonathan Anstey"));
+
+        SyndFeed body = in.getBody(SyndFeed.class);
+        assertEquals(10, body.getEntries().size());
+    }
+
+    protected RouteBuilder createRouteBuilder() throws Exception {
+        return new RouteBuilder() {
+            public void configure() throws Exception {
+                // load the resource first
+                URL url = 
this.getClass().getResource("/org/apache/camel/itest/osgi/rss/rss20.xml");
+                if (url != null) {
+                    from("rss:" + url.toString() + 
"?splitEntries=false&consumer.delay=100").to("mock:result");
+                } else {
+                    throw new CamelException("Can't find the right rss file");
+                }
+            }
+        };
+    }
+    
+    @Configuration
+    public static Option[] configure() {
+        Option[] options = options(
+            // 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)
+            
org.ops4j.pax.exam.CoreOptions.systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("INFO"),
+            
+            // using the features to install the camel components             
+            scanFeatures(getCamelKarafFeatureUrl(),                         
+                          "camel-core", "camel-spring", "camel-test", 
"camel-rss"),
+            
+            workingDirectory("target/paxrunner/"),
+
+            felix(), equinox());
+        
+        return options;
+    }
+
+}

Propchange: 
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/rss/RssPollingConsumerTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml?rev=983602&view=auto
==============================================================================
--- 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
 (added)
+++ 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
 Mon Aug  9 12:04:51 2010
@@ -0,0 +1,424 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl"; 
type="text/xsl" media="screen"?><?xml-stylesheet 
href="http://feeds.feedburner.com/~d/styles/itemcontent.css"; type="text/css" 
media="screen"?>
+<rss version="2.0">
+  <channel>
+    <title>Jon Anstey's Blog</title>
+    <link>http://janstey.blogspot.com/</link>
+    <description></description>
+    <language>en</language>
+    <managingEditor>nore...@blogger.com (Jonathan Anstey)</managingEditor>
+    <lastBuildDate>Wed, 12 Nov 2008 08:08:35 -0600</lastBuildDate>
+    <generator>Blogger http://www.blogger.com</generator>
+    <openSearch:totalResults
+      xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/";>
+      10
+    </openSearch:totalResults>
+    <openSearch:startIndex
+      xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/";>
+      1
+    </openSearch:startIndex>
+    <openSearch:itemsPerPage
+      xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/";>
+      25
+    </openSearch:itemsPerPage>
+    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom"; rel="self"
+      href="http://feeds.feedburner.com/JonAnsteysBlog";
+      type="application/rss+xml" />
+    <item>
+      <title>How do you use your Apache Camel?</title>
+      <link>
+        
http://janstey.blogspot.com/2008/11/how-do-you-use-your-apache-camel.html
+      </link>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Wed, 12 Nov 2008 08:08:35 -0600</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-2482225272893952676
+      </guid>
+      <description>
+        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e)
+        {}"
+        
href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s1600-h/apache-camel-6.png"&gt;&lt;img
+        style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width:
+        232px; height: 108px;"
+        
src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s400/apache-camel-6.png";
+        alt="" id="BLOGGER_PHOTO_ID_5267772297457315874" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;The Apache Camel project has been growing by
+        leaps and bounds lately it seems. Much of this growth has been driven 
by
+        a vibrant community (many thanks to all users! :) ). Its typically hard
+        though to know what kind of applications Camel is being used in. We
+        don't have much visibility into the cool stuff people are doing with
+        Camel. In particular, in would be nice to know what other applications
+        are being used with Camel... eg. CMSs, DBs, ESBs, App Servers, web
+        frameworks, other frameworks, etc etc&lt;br /&gt;&lt;br /&gt;I've
+        started a thread &lt;a
+        
href="http://www.nabble.com/-TO-USERS--How-do-you-use-your-Apache-Camel--tt20460957s22882.html"&gt;here&lt;/a&gt;
+        trying to capture how folks are using Camel. Please, if you're a user 
of
+        Camel, take a minute to share how it is being used on the thread or
+        here. This will only help us make Camel better and more useful in the
+        future. No confidential info allowed, of course ;)
+      </description>
+      <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/";
+        
url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s72-c/apache-camel-6.png";
+        height="72" width="72" />
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        0
+      </thr:total>
+    </item>
+    <item>
+      <title>Creating Apache Camel projects with m2eclipse</title>
+      <link>
+        
http://janstey.blogspot.com/2008/11/creating-apache-camel-projects-with.html
+      </link>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Wed, 05 Nov 2008 11:20:18 -0600</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-5257226557237229806
+      </guid>
+      <description>
+        I just noticed today that &lt;a
+        href="http://activemq.apache.org/camel"&gt;Apache Camel&lt;/a&gt; shows
+        up by default in the &lt;a
+        href="http://m2eclipse.sonatype.org/"&gt;m2eclipse&lt;/a&gt; &lt;a
+        
href="http://www.sonatype.com/book/reference/eclipse.html#sect-m2e-create-archetype"&gt;New
+        Maven Project&lt;/a&gt; dialog. No extra fooling around is required
+        anymore. Very cool!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try
+        {parent.deselectBloggerImageGracefully();} catch(e) {}"
+        
href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s1600-h/newmavenproject.png"&gt;&lt;img
+        style="margin: 0px auto 10px; display: block; text-align: center;
+        cursor: pointer; width: 400px; height: 286px;"
+        
src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s400/newmavenproject.png";
+        alt="" id="BLOGGER_PHOTO_ID_5265222074238812402" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;This is by far the easiest way to get 
started
+        with Apache Camel - you don't even have to leave your IDE.
+      </description>
+      <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/";
+        
url="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s72-c/newmavenproject.png";
+        height="72" width="72" />
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        3
+      </thr:total>
+    </item>
+    <item>
+      <title>Apache Camel 1.5.0 Released!</title>
+      <link>
+        http://janstey.blogspot.com/2008/10/apache-camel-150-released.html
+      </link>
+      <category>Apache Camel</category>
+      <category>Open Source</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Fri, 31 Oct 2008 12:02:21 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-6738685122661677555
+      </guid>
+      <description>
+        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e)
+        {}"
+        
href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s1600-h/apache-camel-6.png"&gt;&lt;img
+        style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width:
+        232px; height: 108px;"
+        
src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s400/apache-camel-6.png";
+        alt="" id="BLOGGER_PHOTO_ID_5263361491479580514" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;Several months and 266 fixes later (a new
+        record!), the &lt;a href="http://camel.apache.org/"&gt;Apache
+        Camel&lt;/a&gt; team is proud to present version 1.5.0!&lt;br
+        /&gt;&lt;br /&gt;Go ahead, take a look at the &lt;a
+        href="http://camel.apache.org/camel-150-release.html"&gt;release
+        notes&lt;/a&gt; and grab it &lt;a
+        href="http://camel.apache.org/download.html"&gt;here&lt;/a&gt;.
+        Its still pretty fresh so it may take a few hours before the release
+        propagates to all Apache download mirrors (try &lt;a
+        
href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/apache-camel/1.5.0/"&gt;here&lt;/a&gt;
+        otherwise).
+      </description>
+      <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/";
+        
url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s72-c/apache-camel-6.png";
+        height="72" width="72" />
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        0
+      </thr:total>
+    </item>
+    <item>
+      <title>Repeatable Maven Builds</title>
+      <link>
+        http://janstey.blogspot.com/2008/10/repeatable-maven-builds.html
+      </link>
+      <category>Nexus</category>
+      <category>Open Source</category>
+      <category>Maven</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Tue, 14 Oct 2008 17:51:57 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-2808091344275336113
+      </guid>
+      <description>
+        A typical problem folks have with Maven seems to be &lt;a
+        
href="http://aidan-skinner.livejournal.com/229584.html?thread=615632#t615632"&gt;getting
+        repeatable builds&lt;/a&gt;. If you've encountered this, you know the
+        pain: an older release needs to be built but now fails with the dreaded
+        "Failed to resolve artifact" error. You can't really depend on most
+        Maven repos to be there indefinitely. I'm sure repos like
+        http://repo1.maven.org are pretty safe but AFAIK the maintainers are
+        under no legal obligation to keep around the artifacts forever. You 
most
+        likely DO have obligations to customers and thus need to ensure builds
+        are repeatable.&lt;br /&gt;&lt;br /&gt;You get repeatability for free
+        when you use a repository manager like &lt;a
+        href="http://nexus.sonatype.org/"&gt;Nexus&lt;/a&gt; - it keeps
+        downloaded artifacts around forever by default. If you don't want to 
use
+        a repository manager, you're going to have to save those artifacts some
+        other (manual) way. One approach would be to just tar up your local m2
+        repo after each release and store it somewhere safe (like in SVN). Of
+        course, since local repos tend to get huge over time, you should always
+        start from an empty local repo before a release.&lt;br /&gt;&lt;br
+        /&gt;Hope this helps.
+      </description>
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        0
+      </thr:total>
+    </item>
+    <item>
+      <title>Why drop Maven?</title>
+      <link>http://janstey.blogspot.com/2008/10/why-drop-maven.html</link>
+      <category>Open Source</category>
+      <category>Maven</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Tue, 14 Oct 2008 17:52:03 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-2951217751083066805
+      </guid>
+      <description>
+        Recently I've noticed projects dropping Maven in favour of some other
+        build tool... Apache Qpid comes to mind in this case. I'm wondering, is
+        there a real good technical reason that folks do not like Maven? It has
+        its quirks... but really, what tool doesn't? I've been using it for
+        years now and like it better that any other build tool out there.
+      </description>
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        2
+      </thr:total>
+    </item>
+    <item>
+      <title>Nexus indices added for FUSE</title>
+      <link>
+        http://janstey.blogspot.com/2008/09/nexus-indices-added-for-fuse.html
+      </link>
+      <category>m2eclipse</category>
+      <category>Nexus</category>
+      <category>Maven</category>
+      <category>FUSE</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Fri, 19 Sep 2008 16:28:48 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-8495762864343317713
+      </guid>
+      <description>
+        I've added &lt;a href="http://nexus.sonatype.org/"&gt;Nexus&lt;/a&gt;
+        repository indices for the &lt;a
+        href="http://open.iona.com/"&gt;FUSE&lt;/a&gt; Maven repositories. You
+        can find instructions on how to add these to your &lt;a
+        href="http://m2eclipse.sonatype.org/"&gt;m2eclipse&lt;/a&gt;
+        installation &lt;a
+        
href="http://open.iona.com/wiki/display/ProdInfo/Adding+FUSE+Maven+repos+to+m2eclipse"&gt;&lt;span
+        style="text-decoration:
+        underline;"&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Why
+        should you care? Well, among many other things, this enables you:&lt;br
+        /&gt;&lt;br /&gt;1. &lt;a
+        
href="http://www.sonatype.com/book/reference/eclipse.html#sect-m2e-create-archetype"&gt;Create&lt;/a&gt;
+        new projects based on Camel archetypes&lt;br /&gt;2. &lt;a
+        
href="http://www.sonatype.com/book/reference/eclipse.html#d0e18331"&gt;Search&lt;/a&gt;
+        for classes in all FUSE artifacts&lt;br /&gt;3. &lt;a
+        
href="http://www.sonatype.com/book/reference/eclipse.html#d0e18191"&gt;Add&lt;/a&gt;
+        FUSE dependencies to your project's POM
+      </description>
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        0
+      </thr:total>
+    </item>
+    <item>
+      <title>Nexus config for Apache Camel</title>
+      <link>
+        http://janstey.blogspot.com/2008/09/nexus-config-for-apache-camel.html
+      </link>
+      <category>Nexus</category>
+      <category>Apache Camel</category>
+      <category>Open Source</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Tue, 09 Sep 2008 18:41:22 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-8110068338407384585
+      </guid>
+      <description>
+        Some folks have been having issues getting all the Maven repositories
+        set up properly in &lt;a
+        href="http://nexus.sonatype.org/"&gt;Nexus&lt;/a&gt; for &lt;a
+        href="http://camel.apache.org/"&gt;Apache Camel&lt;/a&gt;.
+        Here's my working Nexus config and settings.xml - hope it helps!&lt;br
+        /&gt;&lt;a
+        
href="http://people.apache.org/%7Ejanstey/blog_stuff/camel_nexus_config/nexus.xml"&gt;&lt;br
+        /&gt;Nexus config&lt;/a&gt; (admittedly polluted with repos from other
+        projects...)&lt;br /&gt;&lt;br /&gt;&lt;a
+        
href="http://people.apache.org/%7Ejanstey/blog_stuff/camel_nexus_config/settings.xml"&gt;settings.xml&lt;/a&gt;&lt;br
+        /&gt;&lt;br /&gt;I found my Nexus config in
+        /opt/sonatype-work/nexus/conf. I'm not sure what happens when you copy
+        in a new Nexus config file so you should probably make a copy of the
+        sonatype-work directory first :)
+      </description>
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        2
+      </thr:total>
+    </item>
+    <item>
+      <title>I'm an Apache Camel committer!</title>
+      <link>
+        http://janstey.blogspot.com/2008/09/im-apache-camel-committer.html
+      </link>
+      <category>Apache Camel</category>
+      <category>Open Source</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Thu, 04 Sep 2008 10:32:53 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-8954622480986228001
+      </guid>
+      <description>
+        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e)
+        {}"
+        
href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s1600-h/apache-camel-6.png"&gt;&lt;img
+        style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;"
+        
src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s200/apache-camel-6.png";
+        alt="" id="BLOGGER_PHOTO_ID_5242189240558466354" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;Over the past few months I've been hacking
+        away on various parts of &lt;a
+        href="http://camel.apache.org/"&gt;Apache Camel&lt;/a&gt;. It
+        was initially just for fun, but quickly turned into my day job :) With
+        over 40 fixes contributed, the Camel team decided to vote me in as a
+        committer!&lt;br /&gt;&lt;br /&gt;This is my first committer status on
+        any Apache project so its pretty exciting. I've traditionally been
+        involved with closed source projects only.&lt;br /&gt;&lt;br
+        /&gt;Looking forward to more Camel hacking!&lt;br /&gt;&lt;br /&gt;BTW
+        for those who are interesting in contributing to the growing Camel
+        project, &lt;a
+        href="http://icodebythesea.blogspot.com/"&gt;Jamie&lt;/a&gt; posted a
+        good guide to Apache process &lt;a
+        
href="http://icodebythesea.blogspot.com/2008/09/responses-how-to-contribute-to-apache.html"&gt;here&lt;/a&gt;.
+      </description>
+      <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/";
+        
url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s72-c/apache-camel-6.png";
+        height="72" width="72" />
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        3
+      </thr:total>
+    </item>
+    <item>
+      <title>Nexus == easy</title>
+      <link>http://janstey.blogspot.com/2008/08/nexus-easy.html</link>
+      <category>Nexus</category>
+      <category>Apache Camel</category>
+      <category>Open Source</category>
+      <category>Maven</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Wed, 27 Aug 2008 18:43:27 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-1016140995124806496
+      </guid>
+      <description>
+        I must admit, the &lt;a
+        href="http://maven.apache.org/"&gt;Maven&lt;/a&gt; setup at work has me
+        a bit spoiled. Direct LAN access to a bunch of Maven mirrors makes for
+        some pretty fast builds. Problem is, when I go off site I have to 
suffer
+        through slow builds again...&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a
+        href="http://bsnyderblog.blogspot.com/"&gt;Bruce&lt;/a&gt; I now have
+        wicked fast builds off site too!! A local instance of &lt;a
+        href="http://nexus.sonatype.org/"&gt;Nexus&lt;/a&gt; is the answer.
+        Seriously, go take a look at &lt;a
+        
href="http://bsnyderblog.blogspot.com/2008/08/do-you-use-maven-if-so-you-need-nexus.html"&gt;the
+        steps Bruce posted&lt;/a&gt;. It took me like 30 minutes to setup and
+        add about &lt;span style="font-weight: bold;"&gt;twenty&lt;/span&gt;
+        mirrors - now thats freakin' easy.&lt;br /&gt;&lt;br /&gt;Heres the 
best
+        part (I'm building &lt;a
+        href="http://activemq.apache.org/camel"&gt;Apache Camel&lt;/a&gt; here
+        with a clean local repo):&lt;br /&gt;&lt;br /&gt;No mirroring&lt;br
+        /&gt;&lt;span style="font-family:courier new;"&gt;[INFO] Total time: 31
+        minutes 18 seconds&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Custom internal
+        mirrors&lt;br /&gt;[INFO] Total time: 7 minutes 52 seconds&lt;br
+        /&gt;&lt;br /&gt;Nexus mirroring&lt;br /&gt;[INFO] Total time: 3 
minutes
+        3 seconds&lt;br /&gt;&lt;br /&gt;Anyway, bottom line is that I'm
+        impressed. Great work Maven guys!
+      </description>
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        1
+      </thr:total>
+    </item>
+    <item>
+      <title>Eclipse Templates for Apache Camel</title>
+      <link>
+        
http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html
+      </link>
+      <category>Apache Camel</category>
+      <category>Open Source</category>
+      <author>nore...@blogger.com (Jonathan Anstey)</author>
+      <pubDate>Wed, 27 Aug 2008 08:09:43 -0500</pubDate>
+      <guid isPermaLink="false">
+        tag:blogger.com,1999:blog-7653570007295451610.post-7161378749124824806
+      </guid>
+      <description>
+        If you didn't know already, Eclipse allows you to define custom
+        templates for commonly used code snippets. Its a very neat feature for
+        those of us who are memory challenged or don't like typing things
+        twice!&lt;br /&gt;&lt;br /&gt;I think that Apache Camel users could
+        really benefit from having predefined templates for doing Camel 
routing.
+        I also hear a lot of requests like "I have this Java DSL route, how do 
I
+        do this in the Spring XML DSL?" so having both Java and XML templates
+        for the same thing is essential.&lt;br /&gt;&lt;br /&gt;You can find 
the
+        templates I did up &lt;a
+        
href="http://issues.apache.org/activemq/secure/attachment/16910/camel_java_templates.xml"&gt;here&lt;/a&gt;
+        &amp;amp; &lt;a
+        
href="http://issues.apache.org/activemq/secure/attachment/16911/camel_xml_templates.xml"&gt;here&lt;/a&gt;.
+        To import these browse to the template screens defined at:&lt;br
+        /&gt;&lt;br /&gt;Window -&gt; Preferences -&gt; Java -&gt; Editor -&gt;
+        Templates&lt;br /&gt;and&lt;br /&gt;Window -&gt; Preferences -&gt; Web
+        and XML -&gt; XML Files -&gt; Templates.&lt;br /&gt;&lt;br /&gt;Once
+        imported, you can type Ctrl + Space and then type 'camel' to search for
+        the camel templates. You should see something like this in the Java and
+        XML editors:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try
+        {parent.deselectBloggerImageGracefully();} catch(e) {}"
+        
href="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s1600-h/java_template_selection.png"&gt;&lt;img
+        style="margin: 0px auto 10px; display: block; text-align: center;
+        cursor: pointer;"
+        
src="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s320/java_template_selection.png";
+        alt="" id="BLOGGER_PHOTO_ID_5238996312971038258" border="0"
+        /&gt;&lt;/a&gt;&lt;a onblur="try
+        {parent.deselectBloggerImageGracefully();} catch(e) {}"
+        
href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSnZd9AEfI/AAAAAAAAACA/qy6BVcAG6_U/s1600-h/xml_template_selection.png"&gt;&lt;img
+        style="margin: 0px auto 10px; display: block; text-align: center;
+        cursor: pointer;"
+        
src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSnZd9AEfI/AAAAAAAAACA/qy6BVcAG6_U/s320/xml_template_selection.png";
+        alt="" id="BLOGGER_PHOTO_ID_5238996322517783026" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;When you select, say a Content Based Router,
+        you'll get a route something like this in the Java and XML
+        editors:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try
+        {parent.deselectBloggerImageGracefully();} catch(e) {}"
+        
href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSphdkYyDI/AAAAAAAAACY/_mqBSr3uJpU/s1600-h/java_template.png"&gt;&lt;img
+        style="margin: 0px auto 10px; display: block; text-align: center;
+        cursor: pointer;"
+        
src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSphdkYyDI/AAAAAAAAACY/_mqBSr3uJpU/s400/java_template.png";
+        alt="" id="BLOGGER_PHOTO_ID_5238998658876753970" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try
+        {parent.deselectBloggerImageGracefully();} catch(e) {}"
+        
href="http://3.bp.blogspot.com/_JZEz3zQ95mA/SLSn-w1dxdI/AAAAAAAAACQ/-gE7mDXagzM/s1600-h/xml_template.png"&gt;&lt;img
+        style="margin: 0px auto 10px; display: block; text-align: center;
+        cursor: pointer; width: 381px; height: 201px;"
+        
src="http://3.bp.blogspot.com/_JZEz3zQ95mA/SLSn-w1dxdI/AAAAAAAAACQ/-gE7mDXagzM/s320/xml_template.png";
+        alt="" id="BLOGGER_PHOTO_ID_5238996963241608658" border="0"
+        /&gt;&lt;/a&gt;&lt;br /&gt;The formatting was a bit wonky for these
+        Eclipse templates so you might want to pretty up your routes before
+        showing anyone else :)&lt;br /&gt;&lt;br /&gt;Let me know what you
+        think!
+      </description>
+      <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/";
+        
url="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s72-c/java_template_selection.png";
+        height="72" width="72" />
+      <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0";>
+        2
+      </thr:total>
+    </item>
+  </channel>
+</rss>

Propchange: 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Reply via email to