Claus,
On 01/11/16 10:48, Claus Ibsen wrote:
There are some JIRA tickets to integrate camel-cxf with rest-dsl.
However this requires some changes in CXF to facilitate this.
It is not quite correct. As I pointed out at the time, while attaching
the initial patches to the relevant Camel issues, the initial POC (where
absolute HTTP addresses were used as far as I recall) was working, what
was missing was the good tests and the support for some other deployment
scenarios (Blueprint, etc).
Some of the CXF committers from Talend said they would like to work on
that, but they don't seem to had the time yet to work on this.
Not quite correct either (see above). Unfortunately, yes, finding time
to complete this project is a problem - it would require a full time one
or 2 weeks commitment at least and it is difficult to allocate such a
time...
My own opinion is it will be worth completing the REST-DSL over CXF-RS
project and the foundation (in the form of the initial patches) is
available.
Cheers, Sergey
That said you can always code REST services using plain JAX-RS java
code style also. Or if using Spring Boot then how they do it with
their controllers.
Camel in Action 2nd ed book has a full chapter on REST and various
ways to use it with Camel.
On Mon, Oct 31, 2016 at 5:02 PM, DariusX <dariuscoo...@gmail.com> wrote:
I would like to expose some Camel routes via REST, and am considering using
the REST DSL. (I do not have pre-existing REST-based web-service
components.)
Is there any reason/advantage to using camel-cxfrs or some other such
component that supports REST in such a scenario?
It appears to me that the Camel REST DSL is always the way to go unless one
has legacy reasons to use something else, but I'd appreciate someone telling
me if that's a wrong assumption. Also, is there a page somewhere on the
Camel site that would speak to this: i.e. the motivation of using one over
the other?
thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-REST-vs-Cxfrs-tp5789523.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/