@Override public void onReceive(String globalTxId, String localTxId, String parentTxId, String compensationMethod, Object... payloads) { context.apply(globalTxId, localTxId, compensationMethod, payloads); sender.send(new TxCompensatedEvent(globalTxId, localTxId, parentTxId, compensationMethod)); } }