You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by zregvart <gi...@git.apache.org> on 2017/03/22 19:04:22 UTC

[GitHub] camel pull request #1560: CAMEL-11050 Support for optional query parameters ...

GitHub user zregvart opened a pull request:

    https://github.com/apache/camel/pull/1560

    CAMEL-11050 Support for optional query parameters in REST component

    This is a small change, but I might not be aware of the consequences, so submitting for review, thanks :1st_place_medal: 
    
    This adds support for optional query parameters in REST component. Optional query parameters will not be added to the dispatched query parameters if not present in the incoming message headers.
    
    To make a query parameter optional one needs to denote it by adding `?` to the header name, for instance: `param={param?}`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-11050

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1560.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1560
    
----
commit 1ffe934d9f2ce2a7ca5c4e635ab1a8b89608edb7
Author: Zoran Regvart <zr...@apache.org>
Date:   2017-03-22T18:36:09Z

    CAMEL-11050 Support for optional query paramete...
    
    ...rs in REST component
    
    This adds support for optional query parameters in REST component.
    Optional query parameters will not be added to the dispatched query
    parameters if not present in the incoming message headers.
    
    To make a query parameter optional one needs to denote it by adding `?`
    to the header name, for instance: `param={param?}`.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request #1560: CAMEL-11050 Support for optional query parameters ...

Posted by zregvart <gi...@git.apache.org>.
Github user zregvart closed the pull request at:

    https://github.com/apache/camel/pull/1560


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---