I am currently checking spring state machine as an implementation of a custom service bus. I have 2 questions :
- How do I configure a transition based on timer where the time will be based on the model. For example : if I want to delay a message delivery to time which is the start time of the model object (and could be different in different messages). that is without implementing the scheduling myself.
- I liked the API but is spring state machine suitable (performance wise), to implement a message bus, which handles hundreds (or even thousands) of messages per second in some situations.
thanks