camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bitter geek <>
Subject Rest client
Date Tue, 24 Jul 2012 13:52:54 GMT
Hi All,

I'm a bit confused with the sample code for creating rest endpoint.

I do not have access to the rest service class but only want to create
a rest endpoint to use with camel.

Do I only need to create rsClient tag? If so, what class do I put
there for serviceClass? Why does it need a serviceClass if this
endpoint is just used to make an http request?

In addition, how do I get hold of this endpoint in Java?

Thanks a lot for your help!


  <!-- Defined the server endpoint to create the cxf-rs consumer -->
  <cxf:rsServer id="rsServer"
    loggingFeatureEnabled="true" loggingSizeLimit="20"/>

  <!-- Defined the client endpoint to create the cxf-rs consumer -->
  <cxf:rsClient id="rsClient"
    loggingFeatureEnabled="true" />

View raw message