GitHub user w4tson opened a pull request:

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

    CAMEL-11469 Use remainder of uri to parse config

    The configuration now uses the remainder of the uri to parse out the 
properties. This can now cope with a '//' or not and stops further string 
manipulation where it isn't needed.
    
    CAMEL-9495 was fixing parsing logic and seemed to knock it out. I'm not 
super familiar with camel core but it looks like the 'remaining' URI is already 
being passed in so it seems silly to attempt this again?
    
    Also I had to work hard a bit not to introduce a dependency on spring in 
order to reproduce this. My work around is to manually load in the route from 
XML. It's quite clunky the way I've done it. If there's a smoother way, please 
advise.

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

    $ git pull https://github.com/w4tson/camel 
CAMEL-11469-hipchat-endpoint-uri-problem

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

    https://github.com/apache/camel/pull/1793.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 #1793
    
----
commit 202daa5f8145669880c0d7f61e01ae9a3308c249
Author: Paul Watson <[email protected]>
Date:   2017-06-27T21:51:15Z

    CAMEL-11469 Use remainder of uri to parse config
    
    The configuration now uses the remainder of the uri to parse out the 
properties. This can now cope with a '//' or not and stops further string 
manipulation where it isn't needed

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to