RabbitMQ Logger Topics

Topic grid

RabbitMQ Logger Event Topic grid

Topic form

RabbitMQ Logger Event Topic form

Execute script option

This option allows custom javascript code execution.

For example this script will execute Advanced ETL Processor package

const execFileSync = require("child_process").execFileSync;
try {
  // This script might hung so always specify a timeout
  const fileToExecute = '"C:\\Program Files (x86)\\DB Software Laboratory\\Advanced ETL Processor Enterprise\\aetlcl.exe"';
  const objectId = 6687;
  const parameters = [objectId];
  const timeout = 60; //seconds
  const stdout = execFileSync(fileToExecute, parameters, { shell: true, timeout: timeout * 1000 });
} catch (e) {
  logger.error(e.message);
}

Printing meta data

logger.debug(logId);
logger.debug(connectionId);
logger.debug(connectionName);
logger.debug(queueId);
logger.debug(queueName);
logger.debug(message);

Confused? Ask question on our ETL Forum

Posted on May 19, 2022 • 1 min read • 116 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License