davsclaus opened a new issue, #154:
URL: https://github.com/apache/camel-jbang-examples/issues/154

   No example uses IBM MQ, and none parks bad messages so they do not block a 
queue. Banks and insurers run IBM MQ, and payment orders in XML (ISO 20022) are 
their daily work.
   
   Proposed example, `connect-service/ibm-mq-payments`, with the shop story: 
the shop pays its suppliers with payment orders in XML in the shape of ISO 
20022 pain.001, put on an IBM MQ queue by a simulated ERP. The queue manager is 
the IBM MQ developer image, started with `camel infra run ibmmq`.
   
   Build it step by step:
   1. Read the payments queue and log each message id.
   2. Validate against the XML schema; put an invalid order on an errors queue 
with the schema error.
   3. An order that fails three times goes to a backout queue and does not 
block the next.
   4. Split each order into its credit transfers.
   
   The schema is a small one of our own with the shape of pain.001, not ISO's 
file, to keep licensing simple. The image has no arm64 build; on Apple silicon 
Docker runs it with Rosetta, which works (checked). The test needs `ciSkip`: 
Camel's own IBM MQ tests are off on GitHub Actions because the image on icr.io 
cannot be pulled reliably there (CAMEL-24588 (disable IBM MQ tests on GitHub 
Actions)).
   
   With a Citrus YAML test, run with `camel test run`.
   
   _Claude Code on behalf of davsclaus_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to