Package version:

Interface DaprSubscriptionRouteRule

Dapr Pubsub Event Subscription Route Rule is used to specify the condition for sending a message to a specific path.

interface DaprSubscriptionRouteRule {
    match?: string;
    path?: string;
}

Properties

Properties

match?: string

The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.

path?: string

The path for events that match this rule