RabbitMqActionDescriptor.json 1.5 KB
{
  "schema": {
    "title": "RabbitMQ Action Configuration",
    "type": "object",
    "properties": {
      "sync": {
        "title": "Requires delivery confirmation",
        "type": "boolean"
      },
      "exchange": {
        "title": "Exchange",
        "type": "string",
        "default": ""
      },
      "queueName": {
        "title": "Queue Name",
        "type": "string"
      },
      "messageProperties": {
        "title": "Message properties",
        "type": "string"
      },
      "template": {
        "title": "Body Template",
        "type": "string"
      }
    },
    "required": [
      "sync",
      "queueName",
      "messageProperties",
      "template"
    ]
  },
  "form": [
    "sync",
    "exchange",
    "queueName",
    {
      "key": "messageProperties",
      "type": "rc-select",
      "multiple": false,
      "items": [
        {
          "value": "BASIC",
          "label": "BASIC"
        },
        {
          "value": "MINIMAL_BASIC",
          "label": "MINIMAL_BASIC"
        },
        {
          "value": "MINIMAL_PERSISTENT_BASIC",
          "label": "MINIMAL_PERSISTENT_BASIC"
        },
        {
          "value": "PERSISTENT_BASIC",
          "label": "PERSISTENT_BASIC"
        },
        {
          "value": "PERSISTENT_TEXT_PLAIN",
          "label": "PERSISTENT_TEXT_PLAIN"
        },
        {
          "value": "TEXT_PLAIN",
          "label": "TEXT_PLAIN"
        }
      ]
    },

    {
      "key": "template",
      "type": "textarea",
      "rows": 5
    }
  ]
}