Author |
Message
|
krsrini79 |
Posted: Tue Oct 30, 2007 10:42 am Post subject: MQMD ReplyToQ, ReplyToQmgr field mapping to JMSReplyTo |
|
|
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 |
|
 |
bower5932 |
Posted: Tue Oct 30, 2007 11:58 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
krsrini79 |
Posted: Tue Oct 30, 2007 12:41 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Oct 30, 2007 12:42 pm Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Tue Oct 30, 2007 12:43 pm Post subject: |
|
|
 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 |
|
 |
krsrini79 |
Posted: Tue Oct 30, 2007 2:06 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Oct 30, 2007 2:12 pm Post subject: |
|
|
 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 |
|
 |
krsrini79 |
Posted: Thu Nov 01, 2007 8:05 am Post subject: |
|
|
Novice
Joined: 21 Jun 2006 Posts: 23
|
Thanks friends.. _________________ Regards, Srinivasan.KR |
|
Back to top |
|
 |
|