Commit bf97908c5eebc3fdd319e2e7ebc67df30ba7af86
Committed by
GitHub
Merge pull request #626 from 648540858/wvp-dialog
合并bug修复
Showing
4 changed files
with
4 additions
and
20 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestProcessor.java
| ... | ... | @@ -124,10 +124,9 @@ public class NotifyRequestProcessor extends SIPRequestProcessorParent implements |
| 124 | 124 | } |
| 125 | 125 | } catch (DocumentException e) { |
| 126 | 126 | logger.error("处理NOTIFY消息时错误", e); |
| 127 | - } finally { | |
| 128 | - taskQueueHandlerRun = false; | |
| 129 | 127 | } |
| 130 | 128 | } |
| 129 | + taskQueueHandlerRun = false; | |
| 131 | 130 | }); |
| 132 | 131 | } |
| 133 | 132 | } catch (SipException | InvalidArgumentException | ParseException e) { | ... | ... |
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/message/response/cmd/CatalogResponseMessageHandler.java
| ... | ... | @@ -56,24 +56,8 @@ public class CatalogResponseMessageHandler extends SIPRequestProcessorParent imp |
| 56 | 56 | private IVideoManagerStorage storager; |
| 57 | 57 | |
| 58 | 58 | @Autowired |
| 59 | - private DeferredResultHolder deferredResultHolder; | |
| 60 | - | |
| 61 | - @Autowired | |
| 62 | 59 | private CatalogDataCatch catalogDataCatch; |
| 63 | 60 | |
| 64 | - @Autowired | |
| 65 | - private SipConfig config; | |
| 66 | - | |
| 67 | - @Autowired | |
| 68 | - private EventPublisher publisher; | |
| 69 | - | |
| 70 | - //by brewswang | |
| 71 | - @Autowired | |
| 72 | - private UserSetting userSetting; | |
| 73 | - | |
| 74 | - @Autowired | |
| 75 | - private IRedisCatchStorage redisCatchStorage; | |
| 76 | - | |
| 77 | 61 | @Qualifier("taskExecutor") |
| 78 | 62 | @Autowired |
| 79 | 63 | private ThreadPoolTaskExecutor taskExecutor; |
| ... | ... | @@ -153,6 +137,7 @@ public class CatalogResponseMessageHandler extends SIPRequestProcessorParent imp |
| 153 | 137 | |
| 154 | 138 | } |
| 155 | 139 | } |
| 140 | + taskQueueHandlerRun = false; | |
| 156 | 141 | }); |
| 157 | 142 | } |
| 158 | 143 | ... | ... |
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/message/response/cmd/RecordInfoResponseMessageHandler.java
| ... | ... | @@ -148,10 +148,9 @@ public class RecordInfoResponseMessageHandler extends SIPRequestProcessorParent |
| 148 | 148 | } |
| 149 | 149 | } catch (DocumentException e) { |
| 150 | 150 | logger.error("xml解析异常: ", e); |
| 151 | - } finally { | |
| 152 | - taskQueueHandlerRun = false; | |
| 153 | 151 | } |
| 154 | 152 | } |
| 153 | + taskQueueHandlerRun = false; | |
| 155 | 154 | }); |
| 156 | 155 | } |
| 157 | 156 | ... | ... |
src/main/java/com/genersoft/iot/vmp/service/redisMsg/RedisAlarmMsgListener.java
| ... | ... | @@ -18,6 +18,7 @@ import org.springframework.util.ObjectUtils; |
| 18 | 18 | |
| 19 | 19 | import javax.sip.InvalidArgumentException; |
| 20 | 20 | import javax.sip.SipException; |
| 21 | +import javax.validation.constraints.NotNull; | |
| 21 | 22 | import java.text.ParseException; |
| 22 | 23 | import java.util.List; |
| 23 | 24 | import java.util.concurrent.ConcurrentLinkedQueue; | ... | ... |