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 » ReplyToQ usage in WAS/JMS

Post new topic  Reply to topic
 ReplyToQ usage in WAS/JMS « View previous topic :: View next topic » 
Author Message
JonC
PostPosted: Tue Dec 09, 2003 9:10 am    Post subject: ReplyToQ usage in WAS/JMS Reply with quote

Newbie

Joined: 09 Dec 2003
Posts: 4

Hi,

does anyone know whether MDBs can make use of the ReplyToQ and ReplyToQMgr fields in a message to dynamically send a reply to a specific destination, or do all reply queues have to be predefined in JNDI for WAS?

Thanks!
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Dec 09, 2003 9:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I would say that they do NOT have to be predefined in JNDI. You only need to do this so that you can get the provider specific information for the connection factory and destination. You can get this out of the incoming message if things have been setup correctly in the message. There are a couple of programs (mqjmsreq.java, mqjmssrv.java) that do requester-server work with JMS. They can be found at:

http://www.developer.ibm.com/tech/sampmq.html

The server program looks at the requester's message to get the destination of the reply.

However, you did mention ReplyToQ and ReplyToQmgr fields which I didn't think were known about by JMS since they are MQ specific?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
JonC
PostPosted: Tue Dec 09, 2003 1:39 pm    Post subject: Reply with quote

Newbie

Joined: 09 Dec 2003
Posts: 4

Thanks for that! When I said ReplyToQ and ReplyToQMgr I'm afraid I translate everything back to base MQ. What I should have said was the JMSReplyTo property. I knew that you use it in JMS, but was concerned whether WAS imposed any restrictions as I'm fairly new to using it.
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 » ReplyToQ usage in WAS/JMS
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.