Re: CXFRS component to expose Rest apis

2015-01-21 Thread cgsk
Thanks for the reply. What is the impact in running multiple rssservers
interms of performance?

Regards.



--
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-component-to-expose-Rest-apis-tp5761958p5761989.html
Sent from the Camel - Users mailing list archive at Nabble.com.


CXFRS component to expose Rest apis

2015-01-20 Thread cgsk
Hi There,

I have a requirement to expose few 10s of Rest based endpoints in camel. I
am using cxfrs component. Is it recommended to have multiple instance of
cxf:rsServer defined in the camel context for various service operations? Or
is there a way to overcome from defining multiple cxf:rsServer? 

Thanks is advance.

Regards,
CGSK



--
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-component-to-expose-Rest-apis-tp5761958.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: CXFRS component to expose Rest apis

2015-01-20 Thread Sergey Beryozkin

Hi
On 20/01/15 18:37, cgsk wrote:

Hi There,

I have a requirement to expose few 10s of Rest based endpoints in camel. I
am using cxfrs component. Is it recommended to have multiple instance of
cxf:rsServer defined in the camel context for various service operations? Or
is there a way to overcome from defining multiple cxf:rsServer?

You can have a single rsServer with its serviceBeans pointing to all of 
the service beans. Introducing multiple rsServers makes sense when each 
of them introduces its own URI sub space...


HTH, Sergey

Thanks is advance.

Regards,
CGSK



--
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-component-to-expose-Rest-apis-tp5761958.html
Sent from the Camel - Users mailing list archive at Nabble.com.