Question

2
Replies
226
Views
NishantPatnaik Member since 2012 19 posts
PEGA
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed

Which is a better design - Listener doing the entire processing or Listener queuing the entire processing for an agent to take care of?

I have requirement, where a file listener parses a csv file and creates work objects for each of the record. The csv file contains more than 500 records.

Which one of them is a better design?

1. Letting the listener do the entire processing

OR

2. The listener queue the entire processing to an agent, which takes care of the processing.

My vote would be the listener queuing the entire processing to an agent, that ways the listener would be light weight.

Please let me know your views on this.

Moderation Team has archived post
Share this page LinkedIn