We have an API which is streaming enabled. There is a requirement to extract elements from the payload. We implemented the logic using JAVA Callout to extract.
But we are receiving empty request, when we tried to extract the request content.
InputStream stream = msgCtx.getRequestMessage().getContentAsStream();
Can someone guide us with the right approach ?