This repository is a sandbox for testing Azure Functions with Service Bus SDK binding (batch processing and manual completion) using the preview extension: azure-functions-nodejs-extensions-servicebus.
It hosts two minimal examples to compare build/package workflows and runtime behavior:
npm/— TypeScript compiled withtsc, run locally via Functions Core Tools.pnpm-esbuild/— TypeScript bundled withesbuild, optimized output indist/.
See Service Bus binding configuration options in the official docs: Service Bus trigger and bindings.
See Service Bus Sample
-
npm example:
cd npmnpm ci && npm run build && npm run start- For deployment and environment capture:
./run.sh
-
pnpm + esbuild example:
cd pnpm-esbuildpnpm install && pnpm start(builds then starts)- For deployment and environment capture:
./run.sh
You can send message using Azure portal using Service Bus Explorer.
