cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Implement Request-Reply over HTTP → MQ → HTTP using SAP CI

DhrubS
Explorer
0 Likes
513

Hello Experts,

I am working on a scenario where I need to implement a request-reply pattern in SAP Cloud Integration (SAP CI), and I would appreciate your guidance.

Scenario:

  • Source System: Has HTTP capability (sends request over HTTP to SAP CI).
  • Target System: Exposes only IBM MQ queues (request Q and reply Q).
  • Middleware: SAP Cloud Integration.
  • Current Adapter Usage: For other existing flows, we are using the AMQP adapter in SAP CI to read/write data asynchronously to IBM MQ.

Requirement:

  1. Source system sends a request payload over HTTP to SAP CI.
  2. SAP CI needs to forward this request to the target system’s request queue in IBM MQ.
    – While sending, we should add a ReplyToQ in the message header.
  3. Target system processes the request and sends a response to the reply queue with the CorrelationId.
  4. SAP CI should pick the message from the reply queue, correlate it with the original request, and then send the response back to the source system as the HTTP reply.

This was quite straightforward to implement in IBM IIB. But in SAP CI, I am struggling on how do we achieve the synchronous request-reply behavior across HTTP → AMQP → HTTP?

I am quite new to SAP CI, so any step-by-step guidance, examples, or references would be extremely helpful.

Thanks in advance for your help!

Accepted Solutions (0)

Answers (0)