|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ReplyToQ usage in WAS/JMS |
« View previous topic :: View next topic » |
Author |
Message
|
JonC |
Posted: Tue Dec 09, 2003 9:10 am Post subject: ReplyToQ usage in WAS/JMS |
|
|
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 |
|
 |
bower5932 |
Posted: Tue Dec 09, 2003 9:35 am Post subject: |
|
|
 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 |
|
 |
JonC |
Posted: Tue Dec 09, 2003 1:39 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|