• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parsing webhook and do necessary things

 
mohapatra biswal
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Below i've my requirements and the way i'm planning to do this.
Let me know if you think i should not use any of these with a valid reason.
I'm decoupling things to address future concurrency as my servers will be hosted in cloud and i can set autoscaling group to scale the required module as and when required.

I'm getting a webhook json POST and parsing it using REST API call. ---> REST API using jersy
Once i've parsed json objects, i'm calling a 3rd party API and also insert the json as is in mongodb. ---> Same REST program
Then depending on object values, program will insert objects into a Queue(Activemq). ----> Same REST program
Then program will read it from activemq and depending on values it'll mostly SSH to server and do necessary action and inserts transaction details to DB. -----> Thinking of passing it to a servlet from REST API
Program will validate action and then it'll e-mail to appropriate e-mail address and also call 3rd party API. ----> From that servlet
UI for getting JSON data ---> Servlet


Thanks



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!