App Connect

 View Only
Expand all | Collapse all

Delivering Synchronous consumer experience from an asynchronous provider

  • 1.  Delivering Synchronous consumer experience from an asynchronous provider

    Posted Fri November 26, 2021 10:28 AM

    We've got a technical query which I feel you experts can easily help us with based on similar experiences...

    Consumer: REST service invocation to ESB

    ESB: Receive the RESTful service request, wait for backend to put the response into the queue, pick the response, correlate to the request and send back the response to the consumer

    Backend system: Takes the request from ESB, does processing asynchronously, send the response to a Queue

    Customer uses App Connect 12.x with bundled MQ.

    Need advice on implementing the logic marked as "Unknown mechanism" on the diagram below that depicts above integration requirement. "Unknown mechanism" can be a separate message flow which listens to messages on the queue once received compare it to the waiting message flow instances and send it to the correct one.



    ------------------------------
    Prasad Kularatne
    Colombo 1
    0094114625010
    ------------------------------


  • 2.  RE: Delivering Synchronous consumer experience from an asynchronous provider

    Posted Mon November 29, 2021 08:39 AM
    Hello Prasad, 
     Take a look at the aggregation nodes.  I think they achieve what you want and you just need a single request.   They are designed to send out multiple requests
    and get all the replies back and send that as a reply.    
    There are several tutorials that show how they work. 
    Regards, Paul.

    ------------------------------
    Paul Lacy
    ------------------------------