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

Multiple Paths for ManagedServices #1999

Open
stuartrivero opened this issue Jun 18, 2015 · 3 comments
Open

Multiple Paths for ManagedServices #1999

stuartrivero opened this issue Jun 18, 2015 · 3 comments

Comments

@stuartrivero
Copy link

Spring has the concept of multiple RequestMapping paths for a controller. I can't see a way to do something similar with Atmosphere.

We'd like something like:

@managedservice(path={"/api/subscribe/{id}", "/another/api/{id}"})

@gdrouet
Copy link
Member

gdrouet commented Jun 18, 2015

What is the benefit? Do you have a use case?

@stuartrivero
Copy link
Author

The use case is for migrating and maintaining backward compatibility of an API without having rewrite rules or having two instances of the same class.

@vinhn
Copy link

vinhn commented Feb 25, 2016

+1

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

No branches or pull requests

4 participants