While working on the redesigned Node.js C++ add-on for MQ, I had a question about transforming objects. What was the best method for Node.js performance? Noone answered the question on the internal channels I tried. I also couldn’t find anything definitive on external documentation or blogs. So I wrote my own tests …
Continue reading “Node.js Add-ons: Object transformation performance”
This post was last updated on May 24th, 2023 at 12:30 pm
The MQI library for Node.js applications first appeared in 2017. One of the first articles about it is here. Regular maintenance and updates to the library ensured it kept up with newer MQ and NodeJS features. But it seemed time to do a more extensive rewrite of the package, and that’s why I’m writing this article. I’ve put an experimental reimplementation on GitHub of the library for you to try out, before it goes into the mainstream release. Originally in the “napi” branch, it’s been promoted to the master branch.
Continue reading “MQI Node.js library: an experimental reimplementation”
This post was last updated on May 25th, 2023 at 12:30 pm
I recently wrote an article about new TypeScript bindings for the MQ and Node.js interface. Version
Continue reading “MQ and Node.js: an update to the TypeScript interface”
0.9.21 of the MQ Node.js interface includes an update to the TypeScript definitions that can assist further in writing correct programs by describing how MQI flags or bitfield parameters are set. Showing how this new capability works was a bit too long to simply add to the original article. So I’ve written this piece.
This post was last updated on January 28th, 2022 at 07:43 pm
Substantial credit for the API definitions and translations of the example programs needs to be given to Andre, who submitted a Pull Request to our github repository.
Continue reading “MQ and Node.js: working with TypeScript”
This post was last updated on January 26th, 2022 at 01:53 pm
In some earlier posts, here and here, I wrote about how you can use Node.js to write MQ programs. In this post, I’ll show how a feature of the language, Promises, makes it easier to write those MQ programs.
Continue reading “Promises from MQ and Node.js”
But there was still one drawback. The package builds on, and requires, the MQ C client runtime libraries. That needed a separate operation to complete the installation, as those libraries came from product installation media or required you to login to an authorised location before they could be accessed.
No longer though.
Recent updates to the MQ Redistributable Client package and then to the MQ Node.js component have made it much simpler to get an MQ application running, and to create standalone containers for those applications.
Continue reading “Easier use of the Node.js interface for MQ”
This post was last updated on November 24th, 2019 at 02:59 pm
A new way to develop MQ programs running in Node
MQ has always supported a wide range of API styles, languages and environments to enable applications to be written in whichever way a developer feels at home. There is the full-function procedural API, often called from C or Cobol programs; object-oriented varieties of that interface such as for Java and C#; and there is the JMS model.
Continue reading “IBM MQ and Node.js”
This post was last updated on November 23rd, 2019 at 12:07 am