Implement SAGA Pattern commit and rollback.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.food.order.sysyem.event;
|
||||
|
||||
public final class EmptyEvent implements DomainEvent<Void> {
|
||||
|
||||
public static final EmptyEvent INSTANCE = new EmptyEvent();
|
||||
|
||||
private EmptyEvent() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fire() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user