|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
populate MQ RFH thru JMS |
« View previous topic :: View next topic » |
Author |
Message
|
balaji sr |
Posted: Mon Nov 08, 2004 8:19 pm Post subject: populate MQ RFH thru JMS |
|
|
Apprentice
Joined: 07 Jan 2003 Posts: 28
|
I need to populate some of the MQ RF Header from the JMS application. My app. design - We are using (Biz) tracker to track our transcation. The JMS application (running on WAS4.x) has to send the tracking message to the tracker thru MQ. The tracker is expecting the message in MQRFH format. If I set the 'TARGCLIENT()' to MQ in JMS configuration, the MQ message format becomes MQRFH2. How to set the MQ msg format to MQRFH thru JMS application / admin panel.
- thx & rgds
balaji sr
WSMQ, JMS admin / developer |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Nov 09, 2004 1:32 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Hi,
If you are using pub/sub then you can set the broker version to V1 using
setBrokerVersion(JMSC.MQJMS_BROKER_V1) or something similar. I don't think what you want is possible with JMS point-to-point.
Don't take my word for it though, this is a distant memory and may be wrong. Check out the Using Java book and try it.
Cheers,
Vicky |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Nov 09, 2004 6:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
There are two values for the TARGCLIENT property:
JMS - this adds the RFH2 header
MQ - this does NOT add the RFH2 header
If you are trying to add your own data to the header, you can do this by adding fields into the usr folder. There is a program at:
http://www.developer.ibm.com/tech/sampmq.html
called mqjmsusr.java that you can look at to see how to set fields into the usr folder. |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Nov 09, 2004 7:11 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Sorry, I misunderstood the question. I thought you were asking how to get an MQRFH rather than an MQRFH2.
Cheers,
Vicky |
|
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
|
|
|
|