Hi

Have you seen the camel-example-twitter-websocket-blueprint ?

And you can define endpoints as <endpoint id="foo" url="...">

And then refer to the endpoints in your route to have clean and logical uris

<from uri="foo"/>

Or use ref: so the reader can see it refers to the <endpoint>
<from uri="ref:foo"/>




On Sun, Sep 29, 2013 at 7:57 PM, anirbanroysap <[email protected]> wrote:
> Hi,
>
> I am using camel-twitter component to consume twitter services. I am able to
> to do it using java DSLs as given in the example(Camel twitter websocket
> blueprint). But I have a requirement of configuring the camel routes in the
> blueprint xml itself.
> I am not able to configure the camel component in the blueprint xml with the
> accesToken,accesTokenSecret,Consumerkey and cosumerSecret. It has been shown
> how to configure them while creating the endpoint itself. But I want to
> configure them seprately in the blueprint xml so that my endpoint URL is
> clean. Is it possible to do so. If yes, please share an example with me.
>
> Thanks and regards,
> Anirban
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Consuming-camel-twitter-component-tp5740432.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to