You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/12/31 12:21:45 UTC

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

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

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

Yeah a nice little example. Maybe also log it to the console, so people can see it without having to login IRC to see the updates.
And make sure the README.txt is updated and doesn't contain any old cruft from the example you copied.

Also GNodet did implement this example as well in pure XML.
http://gnodet.blogspot.com/2009/10/jira-notification-system-for-irc-using.html

And I think another did it as well
http://coderthoughts.blogspot.com/2009/07/irc-alerter-written-using-apache-camel.html

You can find links here
http://camel.apache.org/articles.html

> Add camel-rss to camel-irc example
> ----------------------------------
>
>                 Key: CAMEL-3346
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3346
>             Project: Camel
>          Issue Type: Improvement
>          Components: examples
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.7.0
>
>         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}

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