The example is demonstrating how to poll a constant feed of twitter searches and publish results in real time using web socket to a web page.
As usual the code in Camel is very simple. All it takes is roughly
To use twitter, you need a twitter account which have setup an application to be used.
In your Twitter settings under the Apps menu, it will list your approved applications. For example I created an application named "Camel-Example"
When you have created an application, you get a number of details back from twitter
You will need to compile this example first:
To run the example type
Then open a browser to see live twitter updates in the webpage