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 » populate MQ RFH thru JMS

Post new topic  Reply to topic
 populate MQ RFH thru JMS « View previous topic :: View next topic » 
Author Message
balaji sr
PostPosted: Mon Nov 08, 2004 8:19 pm    Post subject: populate MQ RFH thru JMS Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
vmcgloin
PostPosted: Tue Nov 09, 2004 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Tue Nov 09, 2004 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
vmcgloin
PostPosted: Tue Nov 09, 2004 7:11 am    Post subject: Reply with quote

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
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 » populate MQ RFH thru 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.