This is what I thought I was doing:
from("rss:myRssFeedURI").marshal().rss().to("direct:simple-rss-send");
from("direct:simple-rss-send").process(new Processor() {
public void process(Exchange e) {
LOG.info("Received exchange: " + e.getIn());
}
});
I do get the 'Received exchange: " log message. But the e.getIn().getBody()
isn't a SyndFeed object. Please advise...
Claus Ibsen-2 wrote:
>
> On Wed, Jan 13, 2010 at 1:05 AM, user09772 <[email protected]> wrote:
>>
>> I forgot the 'rss:' prefix in my original posting.
>>
>> The message is now outputting, but it's just a hex code in the
>> getIn().getBody() call.
>>
>> When I turn Camel dubugging on i do see the SyndFeedImpl object populated
>> correctly. How do I consume/access this object using Camel?
>>
>
> You can just access it from a Processor or POJO.
>
>> Thanks.
>> --
>> View this message in context:
>> http://old.nabble.com/Rss-Feed-route-config-tp27131975p27137305.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
>
--
View this message in context:
http://old.nabble.com/Rss-Feed-route-config-tp27131975p27147168.html
Sent from the Camel - Users mailing list archive at Nabble.com.