Posted: Mon Jan 30, 2006 7:53 am Post subject: Setting replyToQ in non JMS Application
Centurion
Joined: 15 Apr 2003 Posts: 144
Hi
I have a MDB which processes messages and should send the reply messages to the destination returned from getJMSReplyTo().
The sender is a non JMS mainframe application. How does the replyToQ header need to be set in order the MDB can read the reply destination with getJMSReplyTo().
Just use the reply to queue in JMS with a little twist.
Cast it to an MQQueue and set the targetClient attribute to non JMS (JMSC.MQJMS_CLIENT_NONJMS_MQ) then set the reply to destination and send the message.
Thanks for the answers! I made some tests and found out the following:
If the header replyToQ=QueueName has been set in a non JMS message received by a MessageDrivenBean, the reply destination can be nevertheless read with receivedMessage.getJMSReplyTo().
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum