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 » WebSphere Message Broker (ACE) Support » How to make Test Client add MQRFH2 Header to test message

Post new topic  Reply to topic
 How to make Test Client add MQRFH2 Header to test message « View previous topic :: View next topic » 
Author Message
IQ Solutions
PostPosted: Thu Mar 19, 2009 6:38 am    Post subject: How to make Test Client add MQRFH2 Header to test message Reply with quote

Newbie

Joined: 18 Mar 2009
Posts: 6

I need my message to contain the MQRFH2 header. Is there any way to make the Test Client add this header when it puts a test message on the Input Queue?

Last edited by IQ Solutions on Fri Mar 20, 2009 6:32 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Mar 19, 2009 6:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Which test client? The 6.0 test client? Or the 6.1 Test client?

Or some random test client that you wrote yourself?
Back to top
View user's profile Send private message
IQ Solutions
PostPosted: Thu Mar 19, 2009 6:42 am    Post subject: Reply with quote

Newbie

Joined: 18 Mar 2009
Posts: 6

mqjeff wrote:
Which test client? The 6.0 test client? Or the 6.1 Test client?


I'm using v6.1 of the Broker Toolkit, so I assume thats the version of the Test Client.
Back to top
View user's profile Send private message
HOMETOWN47
PostPosted: Thu Mar 19, 2009 8:59 am    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2003
Posts: 34

As far as I'm aware there is no way of adding additional headers other than the MQMD one. Probably easier to use something like RFHUTIL (IH03 support pac).
Back to top
View user's profile Send private message
neeha_kashyap120
PostPosted: Thu Mar 19, 2009 9:40 am    Post subject: Reply with quote

Apprentice

Joined: 05 Mar 2009
Posts: 31

You can add RFH headers using WMB, is that what you are trying to do?
Back to top
View user's profile Send private message
IQ Solutions
PostPosted: Thu Mar 19, 2009 10:25 am    Post subject: Reply with quote

Newbie

Joined: 18 Mar 2009
Posts: 6

neeha_kashyap120 wrote:
You can add RFH headers using WMB, is that what you are trying to do?


I expect the client application to send these headers, so I don't want to write code that is only used in a test scenario.

The Test Client should allow me to create a message that mimics what a client is sending -- but in this case it looks appears to fall short.
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Thu Mar 19, 2009 9:29 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

IQ Solutions wrote:
I need my message to contain the MQRFH2 header. Is there any way to make the Test Client add this header when it puts a test message on the Input Queue?


I understand you are using the test client comes with the WMB toolkit.. I have not worked much with test client but I know that we can set the MQMD fields ..and I think there should be a way to set the RFH2 header as well.. May be THIS will help you
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
HOMETOWN47
PostPosted: Fri Mar 20, 2009 2:01 am    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2003
Posts: 34

The link to the help page in the previous post indicates you can only add the MQMD header. As I said previously you best bet is to use something like RFHUTIL....
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Fri Mar 20, 2009 3:21 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

HOMETOWN47 wrote:
The link to the help page in the previous post indicates you can only add the MQMD header. As I said previously you best bet is to use something like RFHUTIL....


How do you use the rfhutil with WMB test client?
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
HOMETOWN47
PostPosted: Fri Mar 20, 2009 3:27 am    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2003
Posts: 34

You don't - it's used instead of the Test Client.
Back to top
View user's profile Send private message
IQ Solutions
PostPosted: Fri Mar 20, 2009 6:31 am    Post subject: Reply with quote

Newbie

Joined: 18 Mar 2009
Posts: 6

Thx for all the suggestions.

Unfortunately it looks like I have to include code to create the MQRFH2 structure if it doesn't exist, even though this is only occurrs when running a test using the WMBT Toolkit's test client.

Bill.
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 » WebSphere Message Broker (ACE) Support » How to make Test Client add MQRFH2 Header to test message
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.