API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  Echo Message without Invoking Backend

    Posted Fri March 22, 2024 11:15 AM

    HI All,

    We are working on IBM API Connect SaaS Base Edition.

    Is there a way to echo a message and setting headers back to client without invoking a backend? The same technique in a DataPower service that sets the service variable  skip backside. 

    Thanks,

    Paul



    ------------------------------
    Paul Dango
    ------------------------------


  • 2.  RE: Echo Message without Invoking Backend

    Posted Mon March 25, 2024 10:06 AM

    Hi Paul,
    The API Gateway only has a single directional assembly rule, unlike the multi protocol gateway where you had separate request and response rules and required the skip-backside service variable you'd specify in your request rule to skip response rule processing.  The API Gateway will send back to the client the contents of message.body and message.headers that are present when the assembly completes, so an assembly without an invoke policy should be the same pattern as skip-backside.  Are you seeing anything different?
    Regards,

    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------