|
|
@@ -3,7 +3,6 @@ package se.citerus.dddsample.application.impl;
|
|
3
|
3
|
import org.apache.commons.logging.Log;
|
|
4
|
4
|
import org.apache.commons.logging.LogFactory;
|
|
5
|
5
|
import org.springframework.transaction.annotation.Transactional;
|
|
6
|
|
-import static org.springframework.transaction.interceptor.TransactionAspectSupport.currentTransactionStatus;
|
|
7
|
6
|
import se.citerus.dddsample.application.ApplicationEvents;
|
|
8
|
7
|
import se.citerus.dddsample.application.HandlingEventService;
|
|
9
|
8
|
import se.citerus.dddsample.domain.model.cargo.TrackingId;
|
|
|
@@ -60,7 +59,6 @@ public final class HandlingEventServiceImpl implements HandlingEventService {
|
|
60
|
59
|
/* This may be a bogus attempt, for example containing a tracking id
|
|
61
|
60
|
that doesn't match any cargo that we're tracking. */
|
|
62
|
61
|
logger.error(e);
|
|
63
|
|
- currentTransactionStatus().setRollbackOnly();
|
|
64
|
62
|
}
|
|
65
|
63
|
}
|
|
66
|
64
|
|