On 29/03/13 11:05, Claus Ibsen wrote:
Hi

There is also camel-restlet
http://camel.apache.org/restlet

It may be easier to get hold of and use. But CXF may have more
configuration options, but is also IMHO harder to get started with
using - some of that is us to blame, for not having better
documentation and samples. And the fact that IMHO camel-cxf has both
WS and RS in the same big giant component, which IMHO is becoming a
problem and hurts the lightweightness of Camel and CXF.
Really ? I agree that it is not the easiest component to use - that is fare and personally I'd have no problems with sharing part of the 'blame' for not contributing, but please don't do this "hurts the Camel " thing, which is FUD IMHO - FYI, I'm perfectly fine with yourself having the preferences, no problems there at all !

Chris: feel free to experiment with all the other HTTP-aware components, some of them indeed are simpler to use for a given task. FYI, I'm going to work on doing a better demo of using CXF JAX-RS endpoints directly within Camel, specifically, using the Camel transport to link directly to CXF jaxrs:endpoints, and will update the list.

Thanks, Sergey

You may also take a look at some of the articles about Camel. There
should be some good ones about REST etc
http://camel.apache.org/articles

For example this article
http://www.ofbizian.com/2012/02/apache-camel-rest-example.html

But there is others as well.



On Thu, Mar 28, 2013 at 11:35 PM, Chris Wolf<cwolf.a...@gmail.com>  wrote:
So I have the book, "Camel In Action", which is a very good and
thorough treatment of camel-core. However, now my development efforts
are starting to hit severe turbulence upon making the jump from
camel-core to camel-cxf, in particular, how to consume a RESTful
service?

I read these:
http://camel.apache.org/cxfrs.html
http://camel.apache.org/cxf-bean-component.html

...but these pages seem to be reference pages for people who have
already mastered camel-cxfrs - not newbies, like me.  Can anyone point
me to an end-to-end example?  I don't need the server-side - this is
legacy and produces XML.

N.B. Outside of Camel, I have had much previous experience using CXF
for JAX-WS style services, client and server  (never JAX-RS, though)

Thanks for any help,

   -Chris





Reply via email to