Spring State Machine timeout always execute when using connection factory
问题 This time I have a question about timeouts on the state machine. My scenario is like this, referring to the below image On entering StateBasic, I perform some action and the machine given by the Factory waits at WaitForTemplateResult till one of the events either VAS_QRY_RES or MAIN_QRY_RES. Now theres also a timeout which fires after 30seconds. So what happens now is the timeout is however fired even if VAS_QRY_RES or MAIN_QRY_RES comes. I studied this problem and the explanation I was able