|
@ -134,6 +134,7 @@ public class MqSdkUtil {
|
|
|
msgId = queueTools.putMsg(queueManager, xmlNodeName, reqMsg);
|
|
|
// 获取响应消息
|
|
|
respMsg = queueTools.getMsgById(queueManager, xmlNodeName, msgId, 150);
|
|
|
log.info("respMsg=="+reqMsg);
|
|
|
return respMsg;
|
|
|
} catch (MQException e) {
|
|
|
// 2033表示队列中没有消息
|
|
@ -269,6 +270,7 @@ public class MqSdkUtil {
|
|
|
|
|
|
}
|
|
|
}else if(retCode.equals("0")){
|
|
|
log.info("ERRORMSG=="+ ((JSONObject) retInfo).get("RetCon").toString());
|
|
|
//重新封装到json中
|
|
|
((net.sf.json.JSONObject) json).element("MsgInfo", ((JSONObject) retInfo).get("RetCon"));
|
|
|
}
|