Posted: Thu Aug 20, 2009 6:51 am Post subject: MQ Pub Sub
Novice
Joined: 03 Aug 2009 Posts: 10
. I have got a quick query in regard to MQ Pub Sub.
From one of my flow, I need to publish a message. I am using MQ Pub Sub (as its a requirement)and within the compute node I am creating the message and configuring the message header and other necessary configurations. However at the point when flow puts message in the queue, I am getting an exception from the broker saying “Invalid parser sequence followed by 2 Insert elements ” (unable to provide with complete exception list)
Insert
Type: INTEGER:5
Text : CHARACTER:MQHRF (where is this value coming from?)
Insert
Type:INTEGER:5
Text: CHARACTER: xmlnsc
Once the message has been created, I am setting the following values.
CREATE NEXTSIBLING OF OutputRoot.Properties DOMAIN ‘MQMD’;
SET OutputRoot.MQMD.Version = 1;
SET OutputRoot.MQMD.StrucId= ‘MQMD_STRUC_ID’;
SET OutputRoot.MQMD.Format= ‘MQFMT_RF_HEADER_1’; (Using this value leaves the MQ Message Format value as blank, Shall I use this constant of replace by a string ‘MQRFH’)
SET OutputRoot.MQRFH.psc.MQPSTopic= ‘TOPIC_NAME’; (I believe its failing because of these 2 statements because if I comment these the message get put to a queue)
SET OutputRoot.MQRFH.psc.MQPSCommand= ‘Publish;
Could you please advice if the above configurations are correct? Have I missed anything?
Also I have registered the subscriptions for the interested topics and have tested the it using JMS. Should these subscriptions(using MQ Pub Sub) be visible in the broker toolkit.. i.e. broker prospective and then querying the subscriptions?
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