Update GenericFunctions.ts

Added connection_name, to track on rabbitmq host
This commit is contained in:
Hugo Castro de Deco 2025-03-05 20:08:36 -03:00 committed by GitHub
parent d2dd1796a8
commit b4bd93b845
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,11 @@ export async function rabbitmqConnect(
}, {} as IDataObject) as amqplib.Options.Connect;
const optsData: IDataObject = {};
optsData.clientProperties = {
connection_name: "n8n" // should customize this
};
if (credentials.ssl) {
credentialData.protocol = 'amqps';