Skip to Content

variables shared among multiple processes of same application in SAP Cloud Platform

Aug 23, 2017 at 01:23 PM


avatar image

Hi All,

Currently i have implemented a java servlet deployed on SAP Cloud platform Neo environment, which calls the SAP Mobile Services to send Emails on a periodic basis.

The problem I am facing right now is that, if I have multiple processes of the application running, I receive multiple duplicate emails for the same application. Ex. If i configure 3 processes in my application, I get 3 duplicate emails, where I expect only one email.

Can you let me know if there is any way to control this, so that i get only one email, no matter how many processes of the application are running ?

I cannot create one more application just to send emails as this would be hard to maintain.

I am looking for any variable which will be shared among all the processes, so that i can write a logic in my application to not send email if another process has sent it using this shared variable.


Suhas R

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers