AMPS
  • What is AMPS?
  • Getting Started
    • Installation
      • Docker
      • Kubernetes
        • Local
        • Openshift
        • AWS
    • Setup
  • Fundamentals
    • Admin
      • Monitoring
        • Message Events
        • Sessions
        • Service Monitoring
        • System Logs
        • Audit Log
        • Consumers
      • Onboarding
        • Groups
        • Users
      • Message Configuration
        • Topics
        • Actions
        • Services
        • Scripts
        • Templates
        • Routing Rules
        • API Endpoints
        • Metadata Fields
        • Keys
        • Jobs
      • Data Configuration
        • Providers
        • Environments
        • Packages
      • Tools
      • System Configuration
    • End User
      • Mailboxes
      • Universe File Agent
      • Auth Tokens
    • Python
  • Use Cases
    • For Engineers
      • GitHub Integration
    • For Support
      • Intercom Integration
  • Guides
    • Creating your first project
    • Creating your first task
    • Advanced permissions
Powered by GitBook
On this page
  1. Fundamentals
  2. Admin
  3. Message Configuration

Routing Rules

Routing Rules are part of Router Actions and allow for messages to be sent to specific based on Match Patterns that test message metadata against configured glob or regex patterns. When all Match Patterns are matched, a routing rule is executed and the message is routed to the corresponding output topic. The fields for Routing Rules are described below.

Field
Description

Name*

The rule name

Description*

A description of the rule

Action Type*

Any of the action types as specified below

Output Topic*

The topic to route the message to if all match patterns are matched.

Match Patterns*

A list of patterns to use when determining whether a Routing Rule should be executed. A match pattern consists of a Field, which can be either an AMPS-defined metadata field or a custom metadata field, a Regex flag indicating whether the pattern is using glob (by default) or regex, and a Pattern which will matched against the corresponding metadata value of incoming messages.

PreviousTemplatesNextAPI Endpoints

Last updated 3 years ago