Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More wording changes, add more links

...

The CXF JAXRS front end also provides a http centric client API, You . You can also invoke this API from camel-cxfrs producer. You need to specify the HTTP_PATH and Http HTTP_METHOD method and let the producer know to use the http centric client API by using the URI option httpClientAPI or set by setting the message header with CxfConstants.CAMEL_CXF_RS_USING_HTTP_API. You can turn the response object to the type class that you specify with specified with the message header CxfConstants.CAMEL_CXF_RS_RESPONSE_CLASS.

Wiki Markup
{snippet:id=HttpExample|lang=java|url=camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java}

...