camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3346) Add camel-rss to camel-irc example
Date Mon, 03 Jan 2011 06:23:47 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976627#action_12976627
] 

Claus Ibsen commented on CAMEL-3346:
------------------------------------

Instead of using {{10000}} as delay values, we can use {{10s}} which is easier to read, as
its just 10 seconds.

> Add camel-rss to camel-irc example
> ----------------------------------
>
>                 Key: CAMEL-3346
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3346
>             Project: Camel
>          Issue Type: New Feature
>          Components: examples
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: patch.txt, patchfile.txt
>
>
> I created a super simple example using camel-rss to pull camel jira updates and feed
the title to the camel-irc component. Not much to it but shows the use of the two components
and how easy they are to use. Should I bundle up a patch and submit it?
> {code}
>         from("rss:" + rssURL + options).
>                 marshal().rss().
>                 setBody(xpath("/rss/channel/item/title/text()")).
>                 transform(body().prepend("Jira: ")).
>                 to("irc:JiraBot@irc.freenode.net/#jirabottest");
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message