ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 53 - MCIA - Level 1 discussion

Report
Export

An integration Mute application consumes and processes a list of rows from a CSV file. Each row must be read from the CSV file, validated, and the row data sent to a JMS queue, in the exact order as in the CSV file.

If any processing step for a row falls, then a log entry must be written for that row, but processing of other rows must not be affected.

What combination of Mute components is most idiomatic (used according to their intended purpose) when Implementing the above requirements?

A.
Scatter-Gather component On Error Continue scope
Answers
A.
Scatter-Gather component On Error Continue scope
B.
VM connector first Successful scope On Error Propagate scope
Answers
B.
VM connector first Successful scope On Error Propagate scope
C.
For Each scope On Error Continue scope
Answers
C.
For Each scope On Error Continue scope
D.
Async scope On Error Propagate scope
Answers
D.
Async scope On Error Propagate scope
Suggested answer: C

Explanation:

* On Error Propagate halts execution and sends error to the client. In this scenario it's mentioned that "processing of other rows must not be affected" so Option B and C are ruled out.

* Scatter gather is used to club multiple responses together before processing. In this scenario, we need sequential processing. So option A is out of choice.

* Correct answer is For Each scope & On Error Continue scope Below requirement can be fulfilled in the below way

1) Using For Each scope , which will send each row from csv file sequentially. each row needs to be sent sequentially as requirement is to send the message in exactly the same way as it is mentioned in the csv file

2) Also other part of requirement is if any processing step for a row fails then it should log an error but should not affect other record processing . This can be achieved using On error Continue scope on these set of activities. so that error will not halt the processing. Also logger needs to be added in error handling section so that it can be logged.

* Attaching diagram for reference. Here it's try scope, but similar would be the case with For Each loop.

asked 18/09/2024
Jorge Pinto
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first