Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2014

support to set the query parameter from cxfrs uri

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • camel-cxf
    • None

    Description

      Here is an user requirement to set the webclient's parameter from cxfrs URI

       
       cxfrs://http://localhost:9010/templatetest/TID/ranges/start=0;end=1?q1=11&q2=12 
      

      There's one matrix parameter (end1) and two query parameters (q1 and q2).
      rather than setting the query parameters on the endpoint you should set them
      on the WebClient.

        WebClient client =
            WebClient.create("http://localhost:9010/templatetest/TID/ranges/start=0;end=1");
      
       for every query parameter {
           client.query(name, value);
       } 
      
      

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: