Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 2.33 KB

README.md

File metadata and controls

34 lines (24 loc) · 2.33 KB

APICv10-MQ-Rest-Connection

This document will demonstrate a sample of creating an APIC API to PUT and GET messages on MQ using the MQ REST APIs.

Prerequisites:

Creating the APIC API

  1. Create a new API in the APIM.

  2. In the Gateway > Policies section, locate and assemble the operation-switch for a post and get operation. Then drag and drop a set-variable and invoke policy into each operation switch case as shown in the diagram.
    image

  3. The configuration for the POST case set-variable policy will set headers for the required MQ PUT call.
    image

  4. The Invoke policy configuration is where the PUT endpoint, the username/password, and TLS client certificate profile (if applicable) will be input.
    In the diagram below, a sample of the Invoke Policy MQ inputs are displayed, along with url with properties set as MQ variables. The properties may be used to map different variables to different catalogs during runtime (https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=sap-defining-catalog-specific-property-values).
    image

  5. The configuration for the GET case set-variable will set headers for the required MQ GET call.
    image

  6. The Invoke policy configuration is where the GET endpoint, the username/password, TLS client certificate profile (if applicable), and HTTP method will be input.
    image

  7. Once completed, Save the API and test.