Guidelines around Java Callout in APIGEE Proxy

As per an upcoming requirement, we need to generate a file, create a password protected zip and send that over email.

We are looking for some guidance on whether we should implement this flow in APIGEE Proxy where the activities related to file and zip generation,  encrypting the zip and sending the email could be achieved using a Java Callout.  

Although we have an alternate option to implement this outside APIGEE (using Java Microservices), would really appreciate suggestions on choosing the best approach.

 

0 1 95
1 REPLY 1

Doing activities such as file compression, file encryption, sending an email doesn't sound like a good place for Apigee and is likely to impact performance of other APIs running on Apigee.

This sounds like a better use case for a microservice as you have suggested or Application Integration

https://cloud.google.com/application-integration/docs/send-email-task

You would currently need to use something like a cloud function for compression, encryption.