ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Setting replyToQ in non JMS Application

Post new topic  Reply to topic
 Setting replyToQ in non JMS Application « View previous topic :: View next topic » 
Author Message
sfari
PostPosted: Mon Jan 30, 2006 7:53 am    Post subject: Setting replyToQ in non JMS Application Reply with quote

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().

Thanks
Silvano
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jan 30, 2006 11:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Have you tried setting the replyToQ field in the MQMD and see what happens?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Mon Jan 30, 2006 4:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sfari
PostPosted: Tue Jan 31, 2006 5:54 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

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().
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Setting replyToQ in non JMS Application
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.