{
"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": "array",
"minItems" : 1,
"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"
}
],
"uniqueItems": true
},
"template": {
"title": "Body Template",
"type": "string"
}
},
"required": [
"sync",
"queueName",
"messageProperties",
"template"
]
},
"form": [
"sync",
"exchange",
"queueName",
{
"key": "messageProperties",
"type": "rc-select",
"multiple": false
},
{
"key": "template",
"type": "textarea",
"rows": 5
}
]
}