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 IndexWebSphere Message Broker (ACE) SupportMQ Pub Sub

Post new topicReply to topic
MQ Pub Sub View previous topic :: View next topic
Author Message
kakkarj
PostPosted: Thu Aug 20, 2009 6:51 am Post subject: MQ Pub Sub Reply with quote

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?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 20, 2009 1:27 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

MQMD_STRUC_ID and MQFMT_RF_HEADER_1 are constants and not literals and as such should not be enclosed in quotes!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportMQ Pub Sub
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.