I guess it strictly depends on your requirements. If the REST DSL satisfy
your requirements and a POC shows it works for you it probably makes sense
to use it. I am not sure if there is such a condition as to always use one
above the other, unless off course the camel-cxfrs will be discontinued,
which I haven't heard.

On Mon, Oct 31, 2016 at 5:02 PM, DariusX [via Camel] <
ml-node+s465427n5789523...@n5.nabble.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
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Camel-REST-vs-Cxfrs-tp5789523.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428...@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-REST-vs-Cxfrs-tp5789523p5789541.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to