[ https://issues.apache.org/jira/browse/CAMEL-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709941#comment-15709941 ]
ASF GitHub Bot commented on CAMEL-10344: ---------------------------------------- GitHub user tkopczynski opened a pull request: https://github.com/apache/camel/pull/1324 CAMEL-10344: RouteIdFactory for rest routes This PR extends the functionality introduced in #1242 by better handling rest routes. The implementation was written following the suggestions made in #1242 by @davsclaus You can merge this pull request into a Git repository by running: $ git pull https://github.com/tkopczynski/camel camel-10344-followup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1324.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 #1324 ---- commit 48c82ab710acce590038519fa12b2b810986b001 Author: Tomasz Kopczynski <to...@kopczynski.net.pl> Date: 2016-11-27T19:05:49Z CAMEL-10344: RouteIdFactory for rest routes ---- > RouteIdFactory - That can assign route ids using derived values from uris > ------------------------------------------------------------------------- > > Key: CAMEL-10344 > URL: https://issues.apache.org/jira/browse/CAMEL-10344 > Project: Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Priority: Minor > Fix For: 2.19.0 > > > When using routes that uses direct/seda etc as route inputs, then you may > want to use their name as the route id, eg > direct:foo -> foo > seda:bar -> bar > jms:orders -> orders > Instead of having route1, route2 as auto assigned names. > There could be a NodeIdFactory that assign such names for route's. For > example it can use the context-path of the route url as the name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)