Re: Rss Feed route config

2010-01-13 Thread user09772
quot;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 wrote: >> >> I

Re: Rss Feed route config

2010-01-12 Thread user09772
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? Thanks. -- View this

Re: Rss Feed route config

2010-01-12 Thread user09772
Basically I'm trying to retrieve some text from any feed, and run some processing on it (e.g. add to database, send to another queue etc.). user09772 wrote: > > Hey guys, > > I'm trying to following to setup a camel route for google news: > > > fr

Rss Feed route config

2010-01-12 Thread user09772
Hey guys, I'm trying to following to setup a camel route for google news: from("http://news.google.com/news?output=rss";).marshal().rss().to("direct:simple-rss-send"); from("direct:simple-rss-send").process(new Processor() { public void process(Exchange e) {

Re: ActiveMQ - Camel as client POST?

2010-01-07 Thread user09772
gt; > http://camel.apache.org/tracer.html > http://camel.apache.org/tracer-example.html > > In general the Tracer is better for debugging and the log component is > best for creating a paper trail in production. Both will serve your > logging purposes so give em a try and see w

Re: ActiveMQ - Camel as client POST?

2010-01-07 Thread user09772
Thanks Stephen! That fixed the 415 error. Is there a way to output/view the actual marshalled json object? -- View this message in context: http://old.nabble.com/ActiveMQ---Camel-as-client-POST--tp26896366p27064923.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ActiveMQ - Camel as client POST?

2010-01-06 Thread user09772
I had the xstream depend. missing. Although I'm unable to POST to a simple Jersey service. Doing this in the camel config: from("direct:simple-http-send").marshal().json().to("http://host:port/service";); In the consumer: ProducerTemplate producerTemplate = camelContext.createProducerTemplate

Re: ActiveMQ - Camel as client POST?

2010-01-06 Thread user09772
although a bit old > http://elib.uni-stuttgart.de/opus/volltexte/2008/3520/pdf/STUD_2127.pdf > > And then there is a book in the works (I am one of the authors) > http://www.manning.com/ibsen > > And FUSE also have some additional documentation > http://fusesource.com/products/ente

ActiveMQ - Camel as client POST?

2009-12-22 Thread user09772
Hey, A oracle table is enqueuing ids to an activemq. i Have a service as the consumer of the queue, which dequeues ids from the queue and does a database lookup based on that id, and eventually gets a POJO (from hibernate). I need a way to send this pojo to another service. Can Camel do this f