Skip to content

feat(async): implement IBM MQ AsyncAPI testing support - #2216

Merged
lbroudoux merged 3 commits into
microcks:masterfrom
alokkumardalei-wq:issue-1343-ibmmq-testing
Sep 25, 2026
Merged

lbroudoux merged 3 commits into
microcks:masterfrom
alokkumardalei-wq:issue-1343-ibmmq-testing

Conversation

@alokkumardalei-wq

@alokkumardalei-wq alokkumardalei-wq commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1343

Description
This PR implements the Java capabilities required to consume messages from an IBM MQ broker to support AsyncAPI testing, addressing issue #1343.

Changes included:

  • Domain: Added IBMMQ to the BindingType enumeration.
  • Dependencies: Added the com.ibm.mq:com.ibm.mq.allclient dependency to microcks-async-minion.
  • Consumer: Created IBMMQMessageConsumptionTask.java, handling pure IBM MQ connections (MQQueueManager, MQQueue, MQMessage) based on endpoint coordinates (ibmmq://...). It also natively supports binding Microcks SSL secrets and usernames/passwords to the IBM MQ Environment.
  • Test Manager: Wired up the new consumption task in AsyncAPITestManager.

Testing and Validation

I have validated these changes by ensuring that the microcks-async-minion compiles cleanly with the new IBM MQ client dependency and code structure.

Specifically:

  • Compilation: mvn compile -f minions/async/pom.xml completed successfully with no issues.
  • Code Formatting: The code correctly adheres to the repository's strict formatting standards (mvn spotless:apply).

(Note: Manual E2E testing locally is blocked on Apple Silicon due to the ibmcom/mq Docker image lacking ARM64 support or Rosetta 2 x86-64-v3 limitations, so we rely on CI for full integration testing).

@lbroudoux

Copy link
Copy Markdown
Member

This is a great contribution! Thank you. I'll start reviewing this asap.

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks great! I have a few questions I put inline in review comments.

Thanks for your patience.

Comment thread template_output.yaml Resolved
@lbroudoux

Copy link
Copy Markdown
Member

As we're close to the deadline of 1.16.0 and I have no new activity on this PR, I'm going to resolve comments, merge it as is, and finalize things.

@lbroudoux
lbroudoux merged commit 52db4d0 into microcks:master Sep 25, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IBM MQ AsyncAPI testing support

2 participants