Java WebSphere Application Server 7和WebSphere MQ 7,选择器不支持异常

Java WebSphere Application Server 7和WebSphere MQ 7,选择器不支持异常,java,jms,ibm-mq,websphere-7,jmstemplate,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: JMSWMQ2

我有一个从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的选择器的情况下接收消息,则没有问题。但我需要这个功能


有什么想法吗?

什么版本的WMQ客户端和服务器?你能把密码寄出去吗?选择器显然起作用。WMQ甚至优化为在correlationID上选择。因此,您看到的行为必须源于代码或配置。尽管有错误消息会有所帮助,但发布可能出现故障的部件将大大简化调试。