MDN Response logging shows as Java object instead of the message string
uhurusurfa opened this issue · comments
I'm sending some messages using OpenAS2 and receiving the corresponding MDNs with success but when I look into the stored received MDN files (and the mdn_response field in the db), instead of the text received in the MDN, it shows something like:
...
DISPOSITION: automatic-action/MDN-sent-automatically; processed
Text:
java.io.ByteArrayInputStream@76182f20
and it shows the same in the db mdn_response field:
java.io.ByteArrayInputStream@76182f20
I suspect this happens here: https://github.com/OpenAS2/OpenAs2App/blob/master/Server/src/main/java/org/openas2/util/AS2Util.java#L132
I will try to verify if this is the case.