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
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:[email protected]/#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.