4.6. How AMI compares to MQI

Now that we have talked about the different APIs that MQSeries offers, we can talk about how they compare with each other. In this section we compare AMI with MQI.

With MQI both the message destination and the message options for send/receive are managed by the application, while with AMI, they are managed by the policies. MQI offers full MQSeries function support and is concerned exclusively with message transport. AMI offers reduced MQSeries function and provides additional functionality.

The programming interface for MQI is low level (fewer verbs but many structures) and the APIs are similar across the different languages (C, C++, Java, and COBOL). AMI has a high-level programming interface, which means that there ...

Get MQSeries Programming Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.