Where does a message state change?

You are here

Where does a message state change?

2 posts / 0 new
Last post
fpirillo
fpirillo's picture
Where does a message state change?

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?

heller
heller's picture

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