I have a requirement where PI has to fetch the attachments from the invoices by performing GET operation using invoiceID triggered by Proxy.
Flow: Proxy --> PI-->REST-->Mail.
After this, the payload from the GET operation needs to be sent in a mail as an attachment.
I tried using the request-response bean on the sender adapter, but no luck.
Any other approaches would be of great help.