问题
I am receiving the following error when I try to access IBM Mqueue from Tomcat.
com.ibm.msg.client.jms.DetailedJMSException: JMSMQ1112: The operation for a domain specific object was not valid. The operation 'setDirectAuth()' is not valid for type 'com.ibm.mq.jms.MQQueueConnectionFactory'.
What could be the possible reasons for this? My code is very long and I cannot post it here.
回答1:
What could be the possible reasons for this?
Perhaps because setDirectAuth()
was called. It is used to connect to a broker's Real-Time Transport, not a queue.
来源:https://stackoverflow.com/questions/32019838/ibm-mqueue-setdirectauth-operation-is-invalid-error