Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for manually providing Route objects #61

Open
balatbn opened this issue Mar 10, 2014 · 0 comments
Open

Request for manually providing Route objects #61

balatbn opened this issue Mar 10, 2014 · 0 comments

Comments

@balatbn
Copy link

balatbn commented Mar 10, 2014

Currently route objects are loaded automatically by taking a list of files via listRouteFiles() method. It would be great to have a routes() (or similar method) in RouterConfigurationSupport, by which we can pass pre-constructed routes.

This will be helpful in case the request mapping needs to be maintained in some other place. For ex: server acting as a proxy for multiple/different REST calls.

If this seems a valid option, adding this functionality in new 2.x branch alone is also fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant