Details
-
New Feature
-
Status: Open (View Workflow)
-
TBD
-
Resolution: Unresolved
-
None
-
None
-
-
CP: Roadmap backlog
-
Core: Platform
Description
Streaming API requires the RoutingContext to be passed in APIs.. We have the property generate_routing_context to control this.. It's weird and cumbersome that this has to be checked during API generation and during runtime.. Instead of that control .. we could just store the RoutingContext as an property in Context. That would mean that API would be the same everywhere (we have enough parameters already).
RestVerticle:
Context context = ..
context.put("routingContext", rouringContext);
API usage
RoutingContext routingContext = context.get("routingContext");
This is a followup to RMB-570.. We'd always have the RoutingContext - yet this is a non-breaking change.