On Tue, Oct 2, 2012 at 12:34 PM, Gnanaguru S <[email protected]> wrote: > Hi > > Gladly I was working with Camel Twitter and Web socket example and found the > options available with the component. > > In the middle I got struck with a issue, > > The example filters the tweets for "gaga", I changed it and it filters fine. > But How can I pass this through a message. I have a JMS endpoint which will > send this "gaga" and I should pass this as a parameter in twitter component. > > I went through the forums and found that setting a header or property can > help me in reusing it but I wanted to know is there any other way I can make > it work. (Like using any camel:simple options) > > Idea is I just wanted to try, Instead of hard coding the keyword, It should > be more dynamic. > > And thanks for a simple websocket program, which makes understand of web > socket easier for a beginner. >
There is a twitter producer that can do searches as well. Check out the unit tests of the camel-twitter component to find more examples. > regards > Guru > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Twitter-Filter-through-message-body-tp5720356.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
