You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Tracy Snell (JIRA)" <ji...@apache.org> on 2010/11/21 15:11:24 UTC

[jira] Updated: (CAMEL-3346) Add camel-rss to camel-irc example

     [ https://issues.apache.org/activemq/browse/CAMEL-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tracy Snell updated CAMEL-3346:
-------------------------------

    Attachment: patch.txt

- Changed the name to camel-example-simplejirabot.

- Changed to two modules one using the Java DSL and the other XML configuration

All add the example page when the code is in trunk (and point to Guillaume Nodet's much cooler Jira bot example).

Very simple but I think it does a good job of showing off some of the power of Camel.

> Add camel-rss to camel-irc example
> ----------------------------------
>
>                 Key: CAMEL-3346
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3346
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-rss
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>         Attachments: patch.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}
> That's mostly it. Are working examples this simple worthwhile? I think so but I'm kind of simple!

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