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 » MQRFH2 problems

Post new topic  Reply to topic
 MQRFH2 problems « View previous topic :: View next topic » 
Author Message
Kai_Surya
PostPosted: Tue Apr 06, 2004 1:15 pm    Post subject: MQRFH2 problems Reply with quote

Newbie

Joined: 06 Apr 2004
Posts: 2

Hello-
I am having a problem while setting MQRFH2 header for a JMS client. I am building the MQRFH2 header with the following code -

SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;

SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
SET OutputRoot.MQRFH2.mcd.Set = 'A';
SET OutputRoot.MQRFH2.mcd.Fmt = 'cwXml';
SET OutputRoot.MQRFH2.jms.Dst = 'queue:///QL.BUYER.ASYNC.IN.DEV4';
SET OutputRoot.MQRFH2.jms.Dlv = 2;
SET OutputRoot.MQRFH2.jms.Tms = CURRENT_TIME;

I am able to publish the mssg but the problem is when the message is picked up by the JMS client application. The application is reporting with javax.jms.MessageFormatException : The MQRFH2 has incorrect format.

Thanks.

Surya
Back to top
View user's profile Send private message
Kai_Surya
PostPosted: Tue Apr 06, 2004 1:21 pm    Post subject: Additional Info Reply with quote

Newbie

Joined: 06 Apr 2004
Posts: 2

To be specific the JMS application we are using is WBI adapter framework 2.4. And WBI adapter for Ariba v 3.2. Our WMQ version is 2.1. Thanks

Surya
Back to top
View user's profile Send private message
fschofer
PostPosted: Wed Apr 07, 2004 12:53 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Please try this

Code:
-- SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQMD.Format = 'MQHRF2  ';

-- SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
-- SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR   ';
-- SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
SET OutputRoot.MQRFH2.mcd.Msd = 'mrm';
-- SET OutputRoot.MQRFH2.mcd.Set = 'A';
SET OutputRoot.MQRFH2.mcd.Set = 'insert the id of you imported message set';
-- Example: SET OutputRoot.MQRFH2.mcd.Set = 'ABCDE123456781';
-- SET OutputRoot.MQRFH2.mcd.Fmt = 'cwXml';
SET OutputRoot.MQRFH2.mcd.Fmt = 'CwXML';
SET OutputRoot.MQRFH2.jms.Dst = 'queue:///QL.BUYER.ASYNC.IN.DEV4';
SET OutputRoot.MQRFH2.jms.Dlv = 2;
SET OutputRoot.MQRFH2.jms.Tms = CURRENT_TIME;

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQRFH2 problems
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.