Skip to content

Add IBM MQ connector client#81

Merged
daviburg merged 1 commit into
mainfrom
feature/ibmmq-connector
May 1, 2026
Merged

Add IBM MQ connector client#81
daviburg merged 1 commit into
mainfrom
feature/ibmmq-connector

Conversation

@daviburg
Copy link
Copy Markdown
Member

@daviburg daviburg commented May 1, 2026

Summary

Add generated IBM MQ (\mq) connector client to the SDK.

Operations

Method Description
\SendAsync\ Send a message to a queue
\ReadAsync\ / \ReadAllAsync\ Browse (peek) messages without removing
\ReceiveAsync\ / \ReceiveAllAsync\ Destructive get messages
\DeleteAsync\ / \DeleteAllAsync\ Delete messages

Changes

  • Generated: \MqExtensions.cs\ via BPM CodefulSdkGenerator
  • Registration: Added \mq\ to \ConnectorNames.cs\ and \ManagedConnectors.cs\
  • Tests: 13 unit tests in \MqClientTests.cs\ (constructor, dispose, mocked API, error handling, serialization)
  • Skill: Updated connection-setup skill with \mq\ support
  • README: Added IBM MQ to validated connectors table

Dependencies

  • BPM PR #15575176 — C# generator deduplication fix (required to generate MQ without CS0111 errors)

Validation

  • \dotnet build: 0 errors, 0 warnings
  • \dotnet test: 143/143 tests passing
  • Connection created and verified as \Connected\ on Connector Gateway

Closes #8

@daviburg daviburg requested a review from a team as a code owner May 1, 2026 01:35
Copilot AI review requested due to automatic review settings May 1, 2026 01:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an SDK-generated IBM MQ (mq) DirectClient connector, registers it in the SDK’s known connector lists, and updates docs/tests to reflect the new connector.

Changes:

  • Added generated IBM MQ client (MqClient) and models under src/Microsoft.Azure.Connectors.Sdk/Generated/.
  • Registered mq in ConnectorNames and DirectClientConnectors.AvailableConnectors.
  • Added MQ unit tests and updated connection setup skill + README connector table.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/Microsoft.Azure.Connectors.Sdk.Tests/MqClientTests.cs Adds unit tests for the generated MqClient behavior (ctor, dispose, mocked calls, serialization).
src/Microsoft.Azure.Connectors.Sdk/Generated/MqExtensions.cs Introduces the generated MQ client, request/response models, and connector exception type.
src/Microsoft.Azure.Connectors.Sdk/Generated/ManagedConnectors.cs Registers mq in the available connector list and usage comment header.
src/Microsoft.Azure.Connectors.Sdk/Generated/ConnectorNames.cs Adds the ConnectorNames.Mq = "mq" constant for compile-time connector name usage.
README.md Adds IBM MQ to the “Validated Connectors” table.
.github/skills/connection-setup/SKILL.md Adds mq to the supported connector names list in Step 2.

Comment thread README.md Outdated
Comment thread .github/skills/connection-setup/SKILL.md Outdated
Comment thread src/Microsoft.Azure.Connectors.Sdk/Generated/ManagedConnectors.cs
Generated MqClient from BPM CodefulSdkGenerator with the following operations:
- SendAsync: Send a message to a queue
- ReadAsync/ReadAllAsync: Browse (peek) messages
- ReceiveAsync/ReceiveAllAsync: Destructive get messages
- DeleteAsync/DeleteAllAsync: Delete messages

Includes:
- Generated MqExtensions.cs (auto-generated, do not hand-edit)
- ConnectorNames.cs updated with Mq constant
- ManagedConnectors.cs updated with mq in available connectors
- 13 unit tests covering constructor, dispose, mocked API calls,
  error handling, and serialization round-trips
- connection-setup skill updated with mq
- README.md validated connectors table updated

Depends on BPM PR #15575176 (C# generator deduplication fix).
@daviburg daviburg self-assigned this May 1, 2026
@daviburg daviburg force-pushed the feature/ibmmq-connector branch from 29a0d3e to 53a72c0 Compare May 1, 2026 02:40
@daviburg daviburg merged commit d374433 into main May 1, 2026
10 checks passed
@daviburg daviburg deleted the feature/ibmmq-connector branch May 1, 2026 03:32
daviburg added a commit that referenced this pull request May 1, 2026
## Release 0.8.0-preview.1

Version bump and CHANGELOG update for the upcoming release.

### New in this release

- **Office 365 Users** (\office365users\) — 12 operations (#75)
- **Azure Log Analytics** (\�zureloganalytics\) — 4 operations (#74)
- **SMTP** (\smtp\) — email sending (#76)
- **Azure Blob Storage** (\�zureblob\) — file and container operations
(#80)
- **IBM MQ** (\mq\) — messaging queue operations (#81)
- **OpenTelemetry instrumentation** — \ActivitySource\ tracing in
\ConnectorHttpClient\ (#73)

### Release steps after merge

1. Tag: \git tag v0.8.0-preview.1 && git push origin v0.8.0-preview.1\
2. Code mirror syncs to ADO (pipeline 1717)
3. Official build triggers on tag (pipeline 1718)
4. Queue release pipeline (1719) to publish to nuget.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate additional connector packages beyond Office 365 Outlook and SharePoint

2 participants