mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Add exchange to RabbitMQ (#1328)
* Implement exchange for rabbitmq * Fix options not parsing displayOptions * Cleanup code in generic functions * ⚡ Minor changes to (#1300) Co-authored-by: Pieter Jong <jongpieter@hotmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
} from './DefaultOptions';
|
||||
|
||||
import {
|
||||
rabbitmqConnect,
|
||||
rabbitmqConnectQueue,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export class RabbitMQTrigger implements INodeType {
|
||||
@@ -103,7 +103,7 @@ export class RabbitMQTrigger implements INodeType {
|
||||
const queue = this.getNodeParameter('queue') as string;
|
||||
const options = this.getNodeParameter('options', {}) as IDataObject;
|
||||
|
||||
const channel = await rabbitmqConnect.call(this, queue, options);
|
||||
const channel = await rabbitmqConnectQueue.call(this, queue, options);
|
||||
|
||||
const self = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user