1

我有一个从 WMQ 队列获取 JMS 消息的应用程序。如果应用程序部署在 Tomcat 上,那么没有问题。但如果应用程序部署在 WAS7 上,则会引发以下异常:

org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured
during JMS processing; nested exception is com.ibm.msg.client.jms.DetailedJMSException:
JMSWMQ2008: Failed to open MQ queue 'BOURSE_RECEIVE_QUEUE'. JMS attempted to perform an
MQOPEN, but WebSphere MQ reported an error. Use the linked exception to determine the
cause of this error. Check that the specified queue and queue manager are defined
correctly.; nested exception is com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call
failed with compcode '2' ('MQCC_FAILED') reason '2318' ('MQRC_SELECTOR_NOT_SUPPORTED').

此外,如果我在没有correlationID选择器(设置为correlationID)的情况下不使用和接收消息,那么没问题。但我需要这个功能。

有任何想法吗?

4

0 回答 0