Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
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
2 weeks, 5 days agovikas_mule
4 months, 2 weeks agogilofernandes
8 months agojmay
1 year, 7 months agoOutdoor25
2 years, 6 months agoRahul1387
2 years, 11 months agoRahul1387
2 years, 11 months agoawstj
2 years, 10 months ago