Hi Henryk, Yeah, as Twitter Rest API returns JSON, may be that is much better to return JSON. Otherwise for integration the first step to get completed information from twitter4j.Status object is to write custom processor having dependency to twitter4j.Status (twitter4j Lib) and convert into the desired format (XML / JSON / CSV).
That is the reason why I wanted to understand why isn't done for Twitter camel component. Regards, Arpit. -----Original Message----- From: Henryk Konsek [mailto:[email protected]] Sent: Tuesday, December 10, 2013 7:55 PM To: [email protected] Subject: Re: Why Pass Java object in Twitter (& other) component Hi Arpit, > Why not have standard behavior across camel components? Each component provides messages in the most efficient/generic/convenient way it is possible in given context. What kind of standard message format are you thinking of? JSON for example? Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com
