Scheduler to get messages from Amazon

Rajat Khandelwal asked on July 30, 2018 14:24

Required Scenario:- I want to periodically fetch contacts(as messages) at an interval of 1 minute from Amazon SQS queue and store them in OM_Contact table attached to my Kentico Instance. I would also like to keep a log of all the messages which may result into exception.

I would like to ask what will be the better approach for this purpose:-

i) Use a Kentico Task Scheduler in which I will have to create custom functionality to keep log of messages.

ii) Use Kentico Integration Bus ?

I have gone through the documentation of Kentico Integration Bus and is still confused on how it can be beneficial in my work?

Recent Answers

Peter Mogilnitski answered on July 30, 2018 15:56

I'd say you can try to do this with aws components like aws lambda time trigger and use Kentico contacts API inside your lambda.

0 votesVote for this answer Mark as a Correct answer

Rajat Khandelwal answered on July 31, 2018 08:29

@Peter Mogilnitski I have tried the aws lambda time trigger approach, but it was quite complex. So I am more interested in writing the code logic in Kentico Application the only thing I am confused is whether I should use a simple Task Scheduler or Kentico Integration Bus approach and which process is more effective.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.