javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID

Spring JIRA | SrikanthReddy Vuppula | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We are getting a lot of these warnings even though we are not setting any JMSX properties. Please suggest on how to avoid these warnings. We are seeing this error consistently for every message. The WARN Message is: 2010-05-05 07:49:42,153 WARN [pool-1-thread-1] jms.DefaultJmsHeaderMapper - failed to map Message header 'JMSXUserID' to JMS property javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751) at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655) at org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84) at org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177) at org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609) at org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223) at org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180) at org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229) at org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227) at org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Spring JIRA | 7 years ago | SrikanthReddy Vuppula
    javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID
  2. 0

    We are getting a lot of these warnings even though we are not setting any JMSX properties. Please suggest on how to avoid these warnings. We are seeing this error consistently for every message. The WARN Message is: 2010-05-05 07:49:42,153 WARN [pool-1-thread-1] jms.DefaultJmsHeaderMapper - failed to map Message header 'JMSXUserID' to JMS property javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751) at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655) at org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84) at org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177) at org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609) at org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223) at org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180) at org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229) at org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227) at org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Spring JIRA | 7 years ago | SrikanthReddy Vuppula
    javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID
  3. 0

    setting the JMSReplyTo

    Oracle Community | 8 years ago | 721783
    javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: jms:JMSReplyTo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jms.MessageFormatException

      MQJMS1058: Invalid message property name: JMSXUserID

      at com.ibm.jms.JMSMessage.newMessageFormatException()
    2. com.ibm.jms
      JMSMessage.setObjectProperty
      1. com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751)
      2. com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655)
      2 frames
    3. org.springframework.integration
      HeaderMappingMessageConverter.toMessage
      1. org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84)
      2. org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177)
      2 frames
    4. Spring Framework
      JmsTemplate.convertAndSend
      1. org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619)
      2. org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570)
      3. org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541)
      4. org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471)
      5. org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)
      6. org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617)
      7. org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609)
      7 frames
    5. org.springframework.integration
      JmsSendingMessageHandler.handleMessage
      1. org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62)
      1 frame
    6. Spring Integration Core
      DelayHandler$1.run
      1. org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103)
      2. org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90)
      3. org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43)
      4. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116)
      5. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94)
      6. org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223)
      7. org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180)
      8. org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229)
      9. org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227)
      10. org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207)
      10 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      8. java.lang.Thread.run(Unknown Source)
      8 frames