title: JAX-RS and Camel - Except 1st QueryParameter all others are null
body: <p>For some reason, the second and the subsequent Query Parameters are just null.  The first one works perfectly fine.  I am using Camel+JAX-RS (CXF). This is just a GET request. The URL I am using is </p>
  
  <p><code>http://localhost:8181/cxf/coreservices/search?q=health&amp;start=100&amp;size=924</code></p>
  
  <p><strong>Here is my Interface declaration</strong> </p>
  
  <p>@Path("search")
  public interface SearchRestService {</p>
  
  <pre><code>@GET
  @Produces(MediaType.APPLICATION_JSON)
  public String searchGet(@QueryParam ("q") String q, @DefaultValue("0") @QueryParam("start") String start, @DefaultValue("10") @QueryParam("size") String size );
  </code></pre>
  
  <p><strong>Implementation</strong> </p>
  
  <pre><code>public SearchResult&lt;WikiSearchHit&gt; searchGet(String q, String start, String size){
  
      logger.info("Inside wiki GET method: " +q + " start:"+start + " size:"+ size);
  </code></pre>
  
  <p>The <code>q</code> parameter comes in fine as <code>health</code> but the start and the size parameters are just null. Surprisingly, the default values aren't getting picked up too.</p>
  
  <p>I am afraid I am doing something wrong in my camel routing. </p>
  
  <p><strong>Router</strong> </p>
  
  <pre><code>@Override
  public void configure() throws Exception {
  
      from("cxfrs://bean://rsServer?bindingStyle=SimpleConsumer")
              .multicast()
              .parallelProcessing()
              .aggregationStrategy(new CoreSearchResponseAggregator())
              .beanRef("searchRestServiceImpl", "searchGet")
               ...
  </code></pre>
  
  <p>Thanks for your time :-)</p>