cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

JMS producer not accepting the JMSReplyTo message property key

ksinduri
New Contributor

hi there,
I am using the JMSReplyTo msg property key in the JMS Producer snap and getting error while executing the snap. Please advise how to set the value for this key. If this key is not allowed why is it displayed in the allowed values drop down. Please find the error recieved while using it. Also advise what key to use to set the replyTo queuename in the JMS msg header.
Error -
An error occurred while setting the properties in the message

Resolution:

Please check if the key (JMSReplyTo) is valid. And if so, please make sure that the value is also valid

Reason:

MQJMS1058: Invalid message property name: JMSReplyTo

Hide Detailsโ€ฆ

com.snaplogic.snap.api.SnapDataException: An error occurred while setting the properties in the message
at com.snaplogic.snaps.jms.MessageHandler.getSnapDataException(MessageHandler.java:344)
at com.snaplogic.snaps.jms.JMSProducer.process(JMSProducer.java:454)
at com.snaplogic.snap.api.write.SimpleBinaryWriteSnap.doWork(SimpleBinaryWriteSnap.java:62)
at com.snaplogic.snap.api.SimpleBinarySnap.execute(SimpleBinarySnap.java:57)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.executeSnap(SnapRunnableImpl.java:768)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.execute(SnapRunnableImpl.java:550)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.doRun(SnapRunnableImpl.java:834)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.call(SnapRunnableImpl.java:400)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.call(SnapRunnableImpl.java:116)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.snaplogic.api.ExecutionException: An error occurred while setting the properties in the message
at com.snaplogic.snaps.jms.MessageHandler.populateMessageProperties(MessageHandler.java:325)
at com.snaplogic.snaps.jms.JMSProducer.lambda$process$1(JMSProducer.java:383)
at net.jodah.failsafe.Functions.lambda$toSupplier$10(Functions.java:251)
at net.jodah.failsafe.Functions.lambda$get$0(Functions.java:47)
at net.jodah.failsafe.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:62)
at net.jodah.failsafe.Execution.executeSync(Execution.java:129)
at net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
at net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:80)
at com.snaplogic.snaps.jms.JMSProducer.process(JMSProducer.java:306)
โ€ฆ 13 more
Caused by: javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSReplyTo
at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:5047)
at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5954)
at com.snaplogic.snaps.jms.MessageHandler.populateMessageProperties(MessageHandler.java:321)
โ€ฆ 21 more
Reason: MQJMS1058: Invalid message property name: JMSReplyTo
Resolution: Please check if the key (JMSReplyTo) is valid. And if so, please make sure that the value is also
valid`

0 REPLIES 0