|
|
@@ -4,6 +4,7 @@ import com.izouma.nineth.domain.PhotoAsset;
|
|
|
import com.izouma.nineth.event.OrderNotifyEvent;
|
|
|
import com.izouma.nineth.service.*;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
+import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.rocketmq.spring.annotation.ConsumeMode;
|
|
|
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
|
|
|
@@ -28,6 +29,7 @@ public class OrderNotifyListener implements RocketMQListener<OrderNotifyEvent> {
|
|
|
private PhotoAssetService photoAssetService;
|
|
|
private DomainOrderService domainOrderService;
|
|
|
|
|
|
+ @SneakyThrows
|
|
|
@Override
|
|
|
public void onMessage(OrderNotifyEvent e) {
|
|
|
if (e.getType() == null) {
|