You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/10/09 14:35:35 UTC
svn commit: r823527 -
/camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java
Author: ningjiang
Date: Fri Oct 9 12:35:35 2009
New Revision: 823527
URL: http://svn.apache.org/viewvc?rev=823527&view=rev
Log:
Removed the println and log endpoint which should not be committed
Modified:
camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java
Modified: camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java?rev=823527&r1=823526&r2=823527&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java (original)
+++ camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsTest.java Fri Oct 9 12:35:35 2009
@@ -70,7 +70,7 @@
// and restart - but as Camel by default uses the UpdatedDateFilter it will only deliver new
// blog entries to "seda:feeds". So only when James Straham updates his blog with a new entry
// Camel will create an exchange for the seda:feeds.
- from("atom:file:src/test/data/feed.atom?splitEntries=true&consumer.delay=1000").to("log:mylog").to("seda:feeds");
+ from("atom:file:src/test/data/feed.atom?splitEntries=true&consumer.delay=1000").to("seda:feeds");
// From the feeds we filter each blot entry by using our blog service class
from("seda:feeds").filter().method("blogService", "isGoodBlog").to("seda:goodBlogs");
@@ -111,8 +111,7 @@
public boolean isGoodBlog(Exchange exchange) {
Entry entry = exchange.getIn().getBody(Entry.class);
String title = entry.getTitle();
- System.out.println("Title is " + title);
-
+
// We like blogs about Camel
boolean good = title.toLowerCase().contains("camel");
return good;