Answer the question
In order to leave comments, you need to log in
Is reactive marshaling xml to java object possible?
I make a request for a certain service that we give me very slowly large xml
I need to start reading and converting some xml elements into java objects through Jaxb without waiting for the full response of the document and perform some operations with them
How can I do this with reactive spring and is it possible ?
Answer the question
In order to leave comments, you need to log in
you can try to get the io stream of the response, feed it to the stax parser, and when "some elements" arrive, feed the stream to the jaxb unmarshaller.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question