Re: [DISCUSSION] Async support for Saga

2019-07-25 Thread Daniel Qian
Hi Zhang Lei, What I'm trying to say is to provide a way for user to send TxEndedEvent, TxAbortedEvent, TxCompensatedEvent, SagaEndedEvent ... explicitly on Omega side. Because current implementation doesn't support following situation(async): @Compensable(compensationMethod="rollbackFoo")

Re: [DISCUSSION] Async support for Saga

2019-07-25 Thread Zhang Lei
Hi, Daniel Qian Are you talking about the asynchronous problem with the @SagaStart and @Compensable methods on the Omega side? I think this is a typical long transaction scene. Alpha based on Actor model has implemented asynchronous processing of Omega and Alpha, The event sent to Alpha needs