mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(RabbitMQ Trigger Node): Add exchange and routing key options (#7547)
RabbitMQ trigger needs binding for some cases. For example, I need to consume some domain events in my application and they are published with routing key. --------- Co-authored-by: teomane <emre.teoman@bordatech.com>
This commit is contained in:
@@ -139,6 +139,39 @@ export class RabbitMQTrigger implements INodeType {
|
||||
},
|
||||
description: 'Max number of executions at a time. Use -1 for no limit.',
|
||||
},
|
||||
{
|
||||
displayName: 'Binding',
|
||||
name: 'binding',
|
||||
placeholder: 'Add Binding',
|
||||
description: 'Add binding to queu',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
name: 'bindings',
|
||||
displayName: 'Binding',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Exchange',
|
||||
name: 'exchange',
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'exchange',
|
||||
},
|
||||
{
|
||||
displayName: 'RoutingKey',
|
||||
name: 'routingKey',
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'routing-key',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
...rabbitDefaultOptions,
|
||||
].sort((a, b) => {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user