mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add RabbitMQ and RabbitMQ Trigger Node (#1258)
* ✨ Add RabbitMQ-Node * ✨ Add RabbitMQ-Trigger Node * ⚡ Fix issue that connection errors did not get caught * 🔨Fix name and description for RabbitMQ Trigger node Co-authored-by: Harshil <ghagrawal17@gmail.com>
This commit is contained in:
60
packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts
Normal file
60
packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
INodePropertyCollection,
|
||||
INodePropertyOptions,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const rabbitDefaultOptions: Array<INodePropertyOptions | INodeProperties | INodePropertyCollection> = [
|
||||
{
|
||||
displayName: 'Arguments',
|
||||
name: 'arguments',
|
||||
placeholder: 'Add Argument',
|
||||
description: 'Arguments to add.',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
name: 'argument',
|
||||
displayName: 'Argument',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Key',
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Auto Delete',
|
||||
name: 'autoDelete',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'The queue will be deleted when the number of consumers drops to zero .',
|
||||
},
|
||||
{
|
||||
displayName: 'Durable',
|
||||
name: 'durable',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'The queue will survive broker restarts.',
|
||||
},
|
||||
{
|
||||
displayName: 'Exclusive',
|
||||
name: 'exclusive',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Scopes the queue to the connection.',
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user