Long running service task

cancel
Showing results for 
Search instead for 
Did you mean: 
vgaur
Active Member II

Long running service task

Hi,

We have a lot of automated tasks in a process which takes a lot of time to complete. Like REST calls to external system OR JMS message send and receive response.

I can do this using two options :

  1. Service Async task 
  2. Send - receive task: Here we can have one task which will call the external program with correlation id as execution id and move to the next step which would be a receive task. Once we get a response from the external system we can signal the process.

Can someone validate what would be the correct approach.