The default CXFRS model is about the Camel CXFRS processor doing a match
and recording the relevant info such as the path, method, etc for the
custom processors to follow and react as needed.
Additionally, it has a performInvocation flag where you can get it
actually invoking on the concrete service implementation.
Please check CXFRS docs, tests
You do not need to tell the runtime which method to invoke, the runtime
decides. according to the JAXRS rules, which method to match/invoke
Thanks, Sergey
On 06/03/17 15:50, Stefan Alex wrote:
Hello ,
Thank you very much - but how can I process this requests in the end ?
@POST
@Path("/createRequest1")
@Produces("application/json")
public void request1(VistaraInboundModel inboundModel)
and
@POST
@Path("/createRequest2")
@Produces("application/json")
public void request2(VistaraInboundModel inboundModel)
Should I build a <cxf:rsServer .. > for handle createRequest1 and another
for handle createRequest2 ?
One <cxf:rsServer .. > can not handle multiple requests ?
In Spring is possible to register rest controller to handle multiples
requests , here we dont't have something similar ?
Many thanks in advance ,
Stefan
--
View this message in context:
http://cxf.547215.n5.nabble.com/cxf-rsServer-handle-different-methods-into-serviceClass-tp5777793p5777800.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/