i am making restful webservices using apache cxf and camel. my configuration
is something like this :

    <camelcxf:rsServer id="applicationserver" address="/"
staticSubresourceResolution="true">
    <camelcxf:serviceBeans>
    <ref bean="Demo" />
    <ref bean="Foo" />
    <ref bean="Bar" />
    </camelcxf:serviceBeans>
    </camelcxf:rsServer>
I have three service beans exposed as services and are mapped to different
urls and the route is something like this :

    <camel:route id="ServerRoute">
    <camel:from uri="cxfrs://bean://applicationserver" />                       
    <camel:process ref="camelCxfInProcessor" />
    <camel:to uri="http://google"; />
    <camel:to uri="bean:googlereqreshandler" />

Now for each service bean i want to have different route as all three have
different functionality, but i am unable to determine what should i write in
my  

    <from: uri="cxfrs://bean://aplicationserver..."/> 

tag to distinguish routes according to service beans. Or is there any other
way of doing this?  please suggest something.


--
View this message in context: 
http://camel.465427.n5.nabble.com/Apache-Camel-CXFRS-Server-Need-advice-for-Routing-tp5699287.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to