Ibm MQ configured with Jboss Server gives : The destination does not have a name set error
Issue
- Following exception is encounter when IBM MQ configured with Jboss Server receives a message on the queue
com.ibm.msg.client.jms.DetailedJMSException: JMSMQ1113: The destination does not have a name set.
An attempt was made to use a MQQueue or MQTopic that was created with the default constructor. A name should have then been set before the queue was used.
After creation set a name on the MQQueue or MQTopic.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319)
at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233)
at com.ibm.mq.jms.MQDestination.validateDestination(MQDestination.java:1654)
at com.ibm.mq.jms.MQSession.createProducer(MQSession.java:683)
at com.ibm.mq.connector.outbound.MessageProducerWrapper.<init>(MessageProducerWrapper.java:104)
at com.ibm.mq.connector.outbound.SessionWrapper.createProducer(SessionWrapper.java:368)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
