Quick Start - Server to Server
애져 서비스 버스(Azure Service bus) 에 연결하여 데이터를 전송하고 확인하는 방법을 설명합니다.
Last updated
애져 서비스 버스(Azure Service bus) 에 연결하여 데이터를 전송하고 확인하는 방법을 설명합니다.
Last updated
const { ServiceBusClient } = require("@azure/service-bus");
// connection string to your Service Bus namespace
const connectionString = "<CONNECTION STRING TO SERVICE BUS NAMESPACE>"
// name of the queue
const queueName = "<QUEUE NAME>"
const messages = [
{ body: "Albert Einstein" },
{ body: "Werner Heisenberg" },
{ body: "Marie Curie" },
{ body: "Steven Hawking" },
{ body: "Isaac Newton" },
{ body: "Niels Bohr" },
{ body: "Michael Faraday" },
{ body: "Galileo Galilei" },
{ body: "Johannes Kepler" },
{ body: "Nicolaus Kopernikus" }
];