routeOf

fun routeOf(commandType: String, byId: Boolean): RouteManifest?

The route of the command type commandType (ctx.agg.Command) to an aggregate by its id when byId, else one that names no id (CommandRoutes.routeOf); null when no contract lists that route.