Atmosphere: Multiple paths for a ManagedService

117 views Asked by At

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}"})

Is there a workaround? We're using Spring 3.2.4.RELEASE, Atmosphere 2.2.2.

1

There are 1 answers

0
user1004469 On

File an enhancement here https://github.com/Atmosphere/atmosphere/issues that's pretty easy to implement.

-- Jeanfrancois (Atmosphere's lead)