Question
How to print heares of request and response xmls for connect-JMS?
Hi,
We are using PRPC 6.1 SP2. While calling connect-JMS through agent for bulk processing, few of cases getting stepstatusfail response. Service provider says, request not received. We suspect it could be because of request expiry at MQ side. So we want to check the expiry set in the request header from PRPRC. How to print the request xml with headers in PRPC logs while connecting to JMS?
***Updated by Moderator: Vidyaranjan. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option***
I couldn't find direct way to capture the request for JMS. However, You could save as "InvokeJMSConnector" activity to your ruleset and enable the loggers to capture request . And then enable debug loggers to below class.
oLog.infoForced("request capture"+ requestparameter);
Rule_Obj_Activity.InvokeJMSConnector.Rule_Connect_JMS.Action -> DEBUG
P.S: You need to pass requestparameter name. I just provided sample.