anchor.diff:  
   [source,java]
   ------------------------------------------------------------------------------------------------------------------------------------------------
  -    @POST @Path("/customers/{type}")
  -    public Response newCustomer(Customer customer, @PathParam("type") String type, @QueryParam("active") @DefaultValue("true") boolean active) {
  -        return null;
  -    }
  +@POST @Path("/customers/{type}")
  +public Response newCustomer(Customer customer, @PathParam("type") String type, @QueryParam("active") @DefaultValue("true") boolean active) {
  +    return null;
  +}
   ------------------------------------------------------------------------------------------------------------------------------------------------
   
   Serviced by the following route:
   
   [source,java]
   --------------------------------------------------------------------------------------------
  -    from("cxfrs:bean:rsServer?bindingStyle=SimpleConsumer")
  -        .recipientList(simple("direct:${header.operationName}"));
  -
  -    from("direct:newCustomer")
  -        .log("Request: type=${header.type}, active=${header.active}, customerData=${body}");
  +from("cxfrs:bean:rsServer?bindingStyle=SimpleConsumer")
  +    .recipientList(simple("direct:${header.operationName}"));
  +
  +from("direct:newCustomer")
  +    .log("Request: type=${header.type}, active=${header.active}, customerData=${body}");
   --------------------------------------------------------------------------------------------
   
   The following HTTP request with XML payload (given that the Customer DTO
  
positive.code: You can turn the response object to the type class specified with the
  message
  header http://camel.apache.org/maven/current/camel-cxf/apidocs/org/apache/camel/component/cxf/CxfConstants.html#CAMEL_CXF_RS_RESPONSE_CLASS[CxfConstants.CAMEL_CXF_RS_RESPONSE_CLASS].
  
  From Camel 2.1, we also support to specify the query parameters from
  cxfrs URI for the CXFRS http centric client.
  
  Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
  Index: 20, Size: 20
  
  To support the Dynamical routing, you can override the URI's query
  parameters by using the http://camel.apache.org/maven/current/camel-cxf/apidocs/org/apache/camel/component/cxf/CxfConstants.html#CAMEL_CXF_RS_QUERY_MAP[CxfConstants.CAMEL_CXF_RS_QUERY_MAP]
  header to set the parameter map for it.
  
negative.code: set on the Camel exchange and the route execution will continue as
  usual. This can be useful for integrating the existing JAX-RS implementations into Camel routes and
  for post-processing JAX-RS Responses in custom processors.
  
  [source,java]
  ----
  @Path("/customerservice/")
  public interface CustomerServiceResource {
  
      @GET
      @Path("/customers/{id}/")
      Customer getCustomer(@PathParam("id") String id);
  
      @PUT
      @Path("/customers/")
      Response updateCustomer(Customer customer);
  
      @Path("/{id}")
      @PUT()
      @Consumes({ "application/xml", "text/plain",
                      "application/json" })
      @Produces({ "application/xml", "text/plain",
                      "application/json" })
      Object invoke(@PathParam("id") String id,
                      String payload);
  }
  ----
  
  ### How to invoke the REST service through camel-cxfrs producer
  
  