\r
import static org.commscope.tr069adapter.acs.common.utils.AcsConstants.NBI_OP_RESULT_CF;\r
import static org.commscope.tr069adapter.acs.common.utils.AcsConstants.NBI_OP_RESULT_Q;\r
-\r
import org.commscope.tr069adapter.acs.common.DeviceRPCResponse;\r
import org.commscope.tr069adapter.acs.nbi.mapper.service.DeviceEventsMapperNotificationService;\r
import org.slf4j.Logger;\r
@JmsListener(destination = NBI_OP_RESULT_Q, containerFactory = NBI_OP_RESULT_CF)\r
@Transactional(rollbackFor = Exception.class)\r
public void onMessage(DeviceRPCResponse opResult) {\r
- try {\r
- if (null != opResult) {\r
- logger.debug("NBIOperationResult message is received for deviceId : {}, , OprationId: {}",\r
- opResult.getDeviceDetails().getDeviceId(), opResult.getOperationId());\r
- deviceEventsMapperNotificationService.processOperationResponse(opResult);\r
- logger.debug("Successfully processed NBI operation result.");\r
- } else {\r
- logger.error("Null device response is received!!!");\r
- }\r
- } catch (Exception e) {\r
- logger.error("Error while processing the notification, Reason: {}", e.getMessage());\r
+ if (null != opResult) {\r
+ logger.debug("NBIOperationResult message is received for deviceId : {}, , OprationId: {}",\r
+ opResult.getDeviceDetails().getDeviceId(), opResult.getOperationId());\r
+ deviceEventsMapperNotificationService.processOperationResponse(opResult);\r
+ logger.debug("Successfully processed NBI operation result.");\r
+ } else {\r
+ logger.error("Null device response is received!!!");\r
}\r
}\r
}\r