I am getting a response in some format. Need to transform the file in PDF and then save it in other location.
I may be wrong, but as far as I know, the CA API Gateway is not meant for, nor capable of doing this kind of orchestration. You would need an other external application to do this for you.
Agree with Yanick Girouard , gateway should be stateless, ie. it should not save any thing, but it can route to some where you want, for example, jdbc to database, route via ftp/ssh2 assertion to (s)ftp server, etc.
But still, routing big files is not recommended, (the default message size limit is 2.5MB), if you have to, setup separate gateway cluster for that.
Retrieving data ...