oa_gateway_stomp

Function inbound_route

Source
pub fn inbound_route(topic: &str, type_hint: Option<String>) -> RouteKey
Expand description

Engine route for an inbound STOMP MESSAGE.

A non-empty type hint becomes RouteKey::typed; missing or empty is RouteKey::topic (wildcard).