0

While trying to connect IBM MQ JMS queue from spring boot application , I am getting below exception

Caused by: com.ibm.msg.client.jms.DetailedJMSException: JMSCC0005: The specified value '' is not allowed for 'XMSC_WMQ_APPNAME'.

I have been already been referring to : https://github.com/ibm-messaging/mq-jms-spring, but doesnt help.

Any suggestions

Rajeev Akotkar
  • 1,377
  • 4
  • 26
  • 46

1 Answers1

0

The string XMSC_WMQ_APPNAME is the value of constant WMQ_APPLICATIONNAME. The application name can be set with JMS methods MQConnectionFactory.setAppName(), see APPLICATIONNAME.

For some reason the the application name does not get set. Please share your MQ connection configuration for your Spring Boot application.

Daniel Steinmann
  • 2,119
  • 2
  • 15
  • 25