I am trying to send the response back to requester using Return Template Response to Requestor Assertion and returning ${response.mainpart} but it is empty as shown in service debugger window as "mainpart = null" but in fact the backend is sending a response as shown in the postman(left side of the screenshot).
I am able to get the response when i directly use Route via HTTP Assertion without using Return Template Response to Requestor Assertion
Is this because of the Content-Type "application/vnd.kafka.binary.v1+json" ? Is there an extra configuration on Gateway which needs to be done to support this MIME Type ?
This is similar to raised by Nicolas_Afonso , haunting me now even with correctly set Content-Type header
I have already tried setting io.httpDefaultContentType cluster wide property to application/vnd.kafka.binary.v1+json without any success in getting the backend response.
FYI Gateway version used is : 8.3
Regards,
Ganesh Reddy