在类com.ibm.mq.jms.MQQueue中找不到方法getJMSDestination



我们在splunk收到下面的INFO消息。

[000004390]debug[java][messaging]找不到方法类com.ibm.mq.jms.MQQueue.中的getJMSDestination

我在谷歌上搜索了一下,但无法获得正确的清晰度。https://developer.ibm.com/answers/questions/264880/jms-messages-in-websphere-native-stderrlog/

com.ibm.mq.jms.MQQueue中没有getJMSDestination()方法。但getJMSDestination()方法在javax.jms.Message中可用

我们在tc服务器上使用tanuki包装器。我们在wrapper.log中得到了下面的INFO日志。看起来它是JVM日志,但不确定为什么这个信息日志会显示在wrappeer.log中。这里有帮助吗?

INFO   | jvm 1    | 2018/06/25 11:16:17 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2018/06/25 11:16:17 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2018/06/25 11:16:17 | 
INFO   | jvm 1    | 2018/06/25 11:16:18 | Jun 25, 2018 11:16:18 AM org.apache.catalina.startup.Catalina load
INFO   | jvm 1    | 2018/06/25 11:16:18 | INFO: Initialization processed in 873 ms
INFO   | jvm 1    | 2018/06/25 11:16:19 | 2018-06-25 11:16:19 [000004a0] info    [native] License = license ok; 
INFO   | jvm 1    | 2018/06/25 11:16:34 | Jun 25, 2018 11:16:34 AM org.apache.catalina.startup.Catalina start
INFO   | jvm 1    | 2018/06/25 11:16:34 | INFO: Server startup in 16173 ms
INFO   | jvm 1    | 2018/06/25 11:20:10 | 2018-06-25 11:20:10 [00001cb8] debug   [java  ] [messaging ] Could not find method getJMSDestination in class com.ibm.mq.jms.MQQueue
INFO   | jvm 1    | 2018/06/25 11:20:24 | 2018-06-25 11:20:24 [00001cb8] debug   [java  ] [messaging ] Could not find method getJMSDestination in class com.ibm.mq.jms.MQQueue
请注意,您的MQ队列(com.ibm.MQ.jms.MQQueue(是jms端点,而不是jms消息。JMS队列上的closes方法是getQueueName((。如果您想要实际消息,您的应用程序应该使用MQ消息,而不是队列本身