Application programming interfaces
IBM® App Connect Enterprise supports programming interfaces that are in use by IBM MQ applications; it does not provide any unique programming interfaces.
For example, you can use the Message Queue Interface (MQI). The MQI provides a few calls that allow an application to interact with other applications in a network of IBM MQ queue managers. The calls support a large range of parameters that allow a rich choice of processing options for each message.
Client applications that use the MQI can run on any supported IBM MQ operating system, and therefore any limitations that are enforced for language or function are defined by the relevant product for that operating system.
The MQI is described in the Application Programming Reference and Application Programming Guide sections in the IBM MQ product documentation online. Details are also provided of the programming language and operating system support available for clients that use this interface.
If you have existing user applications that are written for an IBM MQ interface, the application can typically run unchanged in an integration node environment. You must create the message flows to interact with these applications from the supported protocols, by using the appropriate input and output nodes. IBM App Connect Enterprise provides built-in input and output nodes for its supported protocols and you can create your own user-defined nodes to support additional protocols.
You can also create new user applications to interact with the integration node.
Message headers
IBM App Connect Enterprise provides parsers for many IBM MQ headers, and can therefore accept messages that contain these headers from the IBM MQ Enterprise Transport protocol.
Messages must include an IBM MQ Message Descriptor (MQMD) as the first header, which must precede user or application data in every message. The MQMD contains basic control information that must travel with the message, including:
- The message identifier
- The destination of the reply, if one is to be sent
- Reply and report options (for example, confirm on delivery report)
- The format of any following data in the message
When a message is processed by an IBM App Connect Enterprise integration node, it typically (but not necessarily) has one or more additional headers. The header that follows the MQMD is always identified in the format field within the MQMD, and itself contains another format field to identify either the header that follows, or the format of the user data.
The additional headers can include: