What is a recommended practice when designing an integration Mule 4 application that reads a large XML payload as a stream?
A.
The payload must be cached using a Cache scope if it is to be sent to multiple backend systems
B.
The payload size should NOT exceed the maximum available heap memory of the Mule runtime on which the Mule application executes
C.
The payload should be dealt with as an XML stream, without converting it to a single Java object (POJO)
D.
The payload should be dealt with as a repeatable XML stream, which must only be traversed (iterated-over) once and CANNOT be accessed randomly from DataWeave expressions and scripts
It should be C. Cannot be B because single XML file maxing heap size means there is no space for any other operations in the runtime. Which is a problem.
When calculating the in-memory buffer size for repeatable auto-paging, you need to estimate the amount of memory each instance takes to avoid running out of memory.
https://docs.mulesoft.com/mule-runtime/4.3/streaming-about
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Alandt
4 months, 2 weeks agovikas_mule
8 months, 2 weeks agogilofernandes
12 months agojmay
1 year, 11 months agoOutdoor25
2 years, 10 months agoRahul1387
3 years, 3 months agoRahul1387
3 years, 3 months agoawstj
3 years, 2 months ago