camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1174) RSS producer
Date Tue, 09 Dec 2008 20:42:05 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47994#action_47994
] 

Jonathan Anstey commented on CAMEL-1174:
----------------------------------------

So, something like this...

{code}
from("foo").to("rss:file:a/file/path/rss.xml");
{code}

I guess in order for this to work, the body would be the content of a post and other options
would be set using message headers. For example,

{code}
Map map = new HashMap();
map.put("Title", "Wicked cool post about Camel");
map.put("Author", "me");

String body = "Camel related content here.";
template.sendBodyAndHeaders("rss:file:a/file/path/rss.xml", body, map);
{code}

> RSS producer
> ------------
>
>                 Key: CAMEL-1174
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1174
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-rss
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


-- 
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