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 » Subscription queue limitation ?

Post new topic  Reply to topic
 Subscription queue limitation ? « View previous topic :: View next topic » 
Author Message
narendra
PostPosted: Fri Jul 19, 2002 1:58 pm    Post subject: Subscription queue limitation ? Reply with quote

Apprentice

Joined: 04 Jun 2002
Posts: 26

I have a subscription msg flow with one compute node. The content of the compute is as follows:

DECLARE C INTEGER;
SET C = CARDINALITY(InputRoot.*[]);
DECLARE I INTEGER;
SET I = 1;
WHILE I < C DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
set OutputRoot.MQMD.Format='MQRFH2 ';
set OutputRoot.MQRFH2.psc.Command='RegSub';
set OutputRoot.MQRFH2.psc.Topic='XYZ';
set OutputRoot.MQRFH2.psc.QMgrName='';
set OutputRoot.MQRFH2.psc.QName='SUBXML_SUBOUT';


The subscription queue for topic XYZ is SUBXML_SUBOUT.

Can I have published data ( topic XYZ) go to more that one subscription queue in the SAME message flow ?
I can create different subscription msg flow for topic XYZ with different subscription queue. It works but I would like to avoid using multiple subscription msg flow for the same topic to different subscription queue.

Thanks in advance
Narendra
Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Sun Jul 21, 2002 10:52 pm    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

I am not sure if it works if you just add more queues into the same RegSub message like
set OutputRoot.MQRFH2.psc.QName='SUBXML_SUBOUT1';

But you can easily create multiple RegSub messages within one message flow. In the Compute node, just add a PROPAGATE statement, and build a fresh output message. Dont' t forget to copy the statements to build/copy headers!
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 » Subscription queue limitation ?
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.