Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashok-ksharma committed Sep 2, 2024
1 parent d9097fe commit d14bfec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ private void pushRequestToQueue(MessageDTO messageDTO, MosipQueue queue) throws
}
String requestId = UUID.randomUUID().toString();
mar.setRequestId(requestId);
regProcLogger.info("Request : " + JsonUtils.javaObjectToJsonString(mar));
regProcLogger.info(LoggerFileConstant.SESSIONID.toString(), LoggerFileConstant.REGISTRATIONID.toString(),
refId, "Manual Adjudication Request : " + JsonUtils.javaObjectToJsonString(mar));
//regProcLogger.info("Request : " + JsonUtils.javaObjectToJsonString(mar));
manualVerificationUpdateUtility.updateManualVerificationEntityRID(mves, requestId);
if (messageFormat.equalsIgnoreCase(TEXT_MESSAGE))
mosipQueueManager.send(queue, JsonUtils.javaObjectToJsonString(mar), mvRequestAddress, mvRequestMessageTTL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ public void consumerListener(Message message) {
TextMessage textMessage = (TextMessage) message;
response = textMessage.getText();
}
/*regProcLogger.info(LoggerFileConstant.SESSIONID.toString(), LoggerFileConstant.REFERENCEID.toString(),
"Response received from mv system", response);*/
regProcLogger.info(LoggerFileConstant.SESSIONID.toString(), LoggerFileConstant.REFERENCEID.toString(),
"Response received from mv system", response);
"Manual Adjudication Response : ", response);
if (response == null) {
regProcLogger.error(LoggerFileConstant.SESSIONID.toString(), LoggerFileConstant.APPLICATIONID.toString(),
PlatformErrorMessages.RPR_INVALID_MESSSAGE.getCode(), PlatformErrorMessages.RPR_INVALID_MESSSAGE.getMessage());
Expand Down

0 comments on commit d14bfec

Please sign in to comment.