You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by tkopczynski <gi...@git.apache.org> on 2016/11/01 19:02:16 UTC

[GitHub] camel pull request #1242: CAMEL-10344: RouteIdFactory - assigning route ids ...

GitHub user tkopczynski opened a pull request:

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

    CAMEL-10344: RouteIdFactory - assigning route ids based on uris

    This PR adds RouteIdFactory which can be used as a NodeIdFactory implementation in CamelContext as a different strategy for assigning route ids.
    
    Currently, it works with direct and similar routes.
    
    Unfortunately, I'm not sure on how to integrate this with assigning ids in rest routes. It feels like this should be somewhere in `RestDefinition.addRouteDefinition` but route id is assigned so early that RouteDefinition doesn't have enough information for creating the id from the path.
    
    @davsclaus do you have any ideas/suggestions on this?

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

    $ git pull https://github.com/tkopczynski/camel camel-10344

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

    https://github.com/apache/camel/pull/1242.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 #1242
    
----
commit f0bc524b7546b398a4a4f804c63a7e0807d1b58a
Author: Tomasz Kopczynski <to...@kopczynski.net.pl>
Date:   2016-11-01T18:49:06Z

    CAMEL-10344: RouteIdFactory - assigning route ids based on uris

----


---
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 #1242: CAMEL-10344: RouteIdFactory - assigning route ids ...

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

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


---
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.
---