QuestionQ31

VerifiedDeveloping Mule Applications

Refer to the exhibits. The Batch Job scope includes two Batch Step scopes with distinct accept expressions.

The input payload is passed into the Batch Job scope.

After the Batch Job scope has processed the entire payload, which messages have the Logger components logged?

Question Image

Explanation

A Batch Job splits the input into records, and each Batch Step processes only records whose accept expression evaluates to true. The first step accepts the records with amounts 400 and 1, changes them to { "amount": 500 } and { "amount": 101 }, and logs them. Records then proceed to the next step; its expression accepts the unchanged 1000 record and the transformed 500 record, logging { "step2amount": 1000 } and { "step2amount": 500 }.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!