因此,您在日志中发现了一个异常:
Execution of JMS message listener failed, and no ErrorHandler has been set.
com.company.eq.mo.app.exception.DefaultMessageListenerException: Failed to handle message.; nested exception is com.company.eq.mo.app.exception.DefaultMessageListenerException: This message does not contain a recognised java object; nested exception is javax.jms.MessageFormatException: MQJMS1061: Unable to deserialize object the class name to find out anymore info about the message:
该消息是可反序列化的,您无法在运行时获取和打印对象:
Object object = ((ObjectMessage) message).getObject();
object.getClass();
因为它不存在于您的类路径中。
还有其他获取类/对象名称的方法吗?