Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
While working on a vertx-websocket demo app, I stumbled across some behavior of the producer 'sendToAll' option that I think should be improved, where parameterized or wildcarded paths are used.
If you have a route like:
from("vertx-websocket:localhost:8080/orders/{country}") .log("Got order for: ${headers.country});
Then clients connect on paths like:
- /orders/us
- /orders/uk
Right now there's currently no way for the producer to 'sendToAll' on any of those specific paths. I think it should be possible to 'sendToAll' to a specific parameterized path, or if desired, all peers connected on any match for /orders/{country}.
Attachments
Issue Links
- links to