Posted: Fri Dec 12, 2003 8:31 am Post subject: Question Regarding PUB SUB
Novice
Joined: 25 Nov 2003 Posts: 12 Location: INDIA
Hi....
I have a Small Problem in Publication of Messages in WMQI 2.1. NT Version
I have a Message which is to be published on a Topic.. So that The Subscribers will Subscribe for that Topic..
I have a MRM Type Message ( Transformed From XML to MRM using a COBOL Copy Book Message Set in a Compute Node)
I need to Publish this Topic.
My Publication ESQL Looks like this.........
Quote:
SET OutputRoot=InputRoot;
SET OutputRoot.Properties.Topic='CLIENTMERGE';
SET OutputRoot.MQMD.Format= 'MQRFH2';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.psc.Command='Publish';
SET OutputRoot.MQRFH2.psc.Topic='CLIENTMERGE';
SET OutputRoot.MRM.*= InputRoot.MRM.*;
And i have A Publication node to Publish this..
My Subscription ESQL Looks Like This...
Quote:
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.psc.Command = 'RegSub';
SET OutputRoot.MQRFH2.psc.Topic = "InputBody"."Sub"."Topic";
SET OutputRoot.MQRFH2.psc.QMgrName = "InputBody"."Sub"."QmgrName";
SET OutputRoot.MQRFH2.psc.QName = "InputBody"."Sub"."QName";
And in input XMl to this Flow i am giving the Topic Name "CLIENTMERGE".
It works Fine when the Message at the Publication Node is in XML Format..
(the message goes to the subscriber's Q as specified)
But it does not work when the Message is MRM Format...
(Nothing happens.. the message does not go to the Subscriber's Q and not event to the BROKER.CONTROL.Q)
Can Anyone tell me Whether anything Spl. has to be done for MRM Message..and how to go about it.....
TX _________________ VV
Have you verified the format of your publication message with a trace node right before the publish node? _________________ I am *not* the model of the modern major general.
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