WebSphere Application Server 7和WebSphere MQ 7,SELECTOR_NOT_SUPPORTED异常

时间:2014-01-27 05:29:55

标签: java jms ibm-mq websphere-7 jmstemplate

我有一个从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)接收消息,那么没问题。但我需要这个功能。

有什么想法吗?

0 个答案:

没有答案