What Is a recommended practice when designing an integration Mule 4 application that reads a large XML payload as a stream?

What Is a recommended practice when designing an integration Mule 4 application that reads a large XML payload as a stream?
A . 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
B . The payload should be dealt with as an XML stream, without converting it to a single Java object (POJO)
C . The payload size should NOT exceed the maximum available heap memory of the Mute runtime on which the Mule application executes
D . The payload must be cached using a Cache scope If It Is to be sent to multiple backend systems

Answer: C

Explanation:

If the size of the stream exceeds the maximum, a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments