I am having trouble finding where the state of a message being sent changes. I want to be able to handle the physical file differently depending on the state of the sent message, but it always seems to stay in AS2Message.STATE_PENDING
Where does the message state change?
fpirillo,
the state depends on the state of a transaction and is set using the following conditions:
-AS2 message sent: PENDING
-Any processing error: ERROR
-MDN received and OK: FINISHED
-MDN not received but wait time exceeded: ERROR
Regards
Heller