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 » MQMD ReplyToQ, ReplyToQmgr field mapping to JMSReplyTo

Post new topic  Reply to topic
 MQMD ReplyToQ, ReplyToQmgr field mapping to JMSReplyTo « View previous topic :: View next topic » 
Author Message
krsrini79
PostPosted: Tue Oct 30, 2007 10:42 am    Post subject: MQMD ReplyToQ, ReplyToQmgr field mapping to JMSReplyTo Reply with quote

Novice

Joined: 21 Jun 2006
Posts: 23

Can you tell me that how can I access the ReplyToQ and ReplyToQmgr field which is in MQMD in JMS header?

How can I extract these (ReplyToQ and ReplyToQmgr) field in Message Driven Beans?

We are using MQ Version 5.3 in Solaris 9 environment?
_________________
Regards, Srinivasan.KR
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Oct 30, 2007 11:58 am    Post subject: Reply with quote

Jedi Knight

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

This does it:

http://www-304.ibm.com/jct09002c/isv/tech/sample_code/mq/mqjmssrv.java
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
krsrini79
PostPosted: Tue Oct 30, 2007 12:41 pm    Post subject: Reply with quote

Novice

Joined: 21 Jun 2006
Posts: 23

Can you tell me the mapping between MQMD 'ReplyToQ' + 'ReplyToQmgr' and JMSReplyTo will happen automatically or not?

The same way If I set the JMSReplyTo file in my JMS layer shall I able to get the values in MQMD (ReplyToQ and ReplyToQmgr)?
_________________
Regards, Srinivasan.KR
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 30, 2007 12:42 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What happens when you try it?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Oct 30, 2007 12:43 pm    Post subject: Reply with quote

Jedi Knight

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

You should be able to try it with a very small sample program

I think yes but that's from my memory
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krsrini79
PostPosted: Tue Oct 30, 2007 2:06 pm    Post subject: Reply with quote

Novice

Joined: 21 Jun 2006
Posts: 23

I need confirmation on the below things.

If I set values in JMSReplyTo field which is there in JMS header, is it going to be mapped automatically to MQMD ‘ReplyToQ’ and ‘ReplyToQmgr’ fields?
In the same manner, are the values in MQMD ‘ReplyToQ’ and ‘ReplyToQmgr’ will be mapped to JMS header ‘JMSReplyTo’ field automatically?
_________________
Regards, Srinivasan.KR
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 30, 2007 2:12 pm    Post subject: Reply with quote

Grand High Poobah

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

krsrini79 wrote:
I need confirmation on the below things.

If I set values in JMSReplyTo field which is there in JMS header, is it going to be mapped automatically to MQMD ‘ReplyToQ’ and ‘ReplyToQmgr’ fields?
In the same manner, are the values in MQMD ‘ReplyToQ’ and ‘ReplyToQmgr’ will be mapped to JMS header ‘JMSReplyTo’ field automatically?


In the MQ world i.e. MQJMS and base MQ the answer is YES.

The assumption behind that answer is that on the base side you are not building an MQRFH2 and on the JMS side you are stripping it before sending the message. If on the sending side you are not stripping the RFH2 it should still be mapped automatically. Now if you are creating the RFH2 on a non JMS sender you could potentially set different values in the RFH2 and in MQMD. This would require you to check what happens to such a message.

Now if you add other providers into the Mix I don't know what would possibly happen and you'd have to check it out with a provider to provider case...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
krsrini79
PostPosted: Thu Nov 01, 2007 8:05 am    Post subject: Reply with quote

Novice

Joined: 21 Jun 2006
Posts: 23

Thanks friends..
_________________
Regards, Srinivasan.KR
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 » MQMD ReplyToQ, ReplyToQmgr field mapping to JMSReplyTo
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.