guidesmiths/rascal

View on GitHub
examples/simple/config.json

Summary

Maintainability
Test Coverage
{
  "$schema": "../../lib/config/schema.json",
  "vhosts": {
    "/": {
      "publicationChannelPools": {
        "confirmPool": {
          "autostart": true
        }
      },
      "connection": {
        "options": {
          "heartbeat": 10
        },
        "socketOptions": {
          "timeout": 1000
        }
      },
      "exchanges": ["demo_ex"],
      "queues": ["demo_q"],
      "bindings": ["demo_ex[a.b.c] -> demo_q"],
      "publications": {
        "demo_pub": {
          "exchange": "demo_ex",
          "routingKey": "a.b.c",
          "options": {
            "persistent": false
          }
        }
      },
      "subscriptions": {
        "demo_sub": {
          "queue": "demo_q"
        }
      }
    }
  }
}