SKILL

azure-servicebus-ts

Build messaging applications using Azure Service Bus SDK for JavaScript (@azure/service-bus). Use when implementing queues, topics/subscriptions, message sessions, dead-letter handling, or enterprise messaging patterns.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Azure Service Bus SDK for TypeScript
  • Installation
  • Environment Variables
  • Authentication
  • Core Workflow
  • Send Messages to Queue
  • Receive Messages from Queue
  • Subscribe to Messages (Event-Driven)

Enterprise messaging with queues, topics, and subscriptions. 1. Use Microsoft Entra Token Credential - Use DefaultAzureCredential for local development; use ManagedIdentityCredential or WorkloadIdentityCredential for production 2. Reuse clients - Create ServiceBusClient once, share across senders/receivers 3. Close resources - Always close senders/receivers when done 4. Handle errors - Implement processError callback for subscription receivers 5. Use sessions for ordering - When message order matters within a group 6. Configure dead-letter - Always handle DLQ messages 7. Batch sends - Use createMessageBatch() for multiple messages For detailed patterns, see: Queues vs Topics Patterns - Queue/topic patterns, sessions, receive modes, message settlement Error Handling and Reliability - ServiceBusError codes, DLQ handling, lock renewal, graceful shutdown

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-typescript/skills/azure-servicebus-ts/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.593Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.