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 » General IBM MQ Support » PUB/SUB :: Broker Configuration

Post new topic  Reply to topic
 PUB/SUB :: Broker Configuration « View previous topic :: View next topic » 
Author Message
sley
PostPosted: Thu Aug 08, 2002 7:16 am    Post subject: PUB/SUB :: Broker Configuration Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 11

Hi.
I've downloaded MQ Series 5.2 (trial version) for Windows to run a simple prototype -- we would like to add an exit routine at the broker level to filter out data.
From the support-pacs, there is sample C code (amqspsra.c) for an exit routine such that if the destination is Q1, it will route it to Q2. I used Visual C++ to compile and create a DLL for it. I've tried searching through the docs and I don't know how to configure the broker to use the exit routine.

Can anyone help?
Thanks for your time & help!
--Selena
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Aug 08, 2002 10:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Check out the chapter in the Pub/Sub User's Guide on Setting up a broker. There is a 'Broker:' section in the qm.ini file. There are quite a few parameters and details are given on what they are.

On Windows, you can use the cfgmqbrk command to edit these parameters.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
sley
PostPosted: Thu Aug 08, 2002 10:11 am    Post subject: Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 11

Thanks, bower5932. But I tried using the cfgmqbrk command in windows to configure the broker and the window automatically dies after starting it. I also tried searching for the qm.ini file but this file does not exist.
Is the qm.ini file created when you run the cfgmqbrk command?

Any other suggestions?
Thanks again!
--Selena
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Aug 09, 2002 10:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The qm.ini file is kept in the registry on a Windows system. I'd recommend figuring out why the cfgmqbrk command isn't working before using regedt32 to add the appropriate entries. Do you get any kind of FDC files when it fails? Does the regular explorer work?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
sley
PostPosted: Fri Aug 09, 2002 10:15 am    Post subject: Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 11

Thanks for the quick response but I didn't receive any FDC files when it failed. The window automatically shuts down when it's started. I've tried this on other machines but we also experience the same problem.
Thanks Bower!
--Selena
Back to top
View user's profile Send private message
sley
PostPosted: Fri Aug 09, 2002 10:35 am    Post subject: Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 11

Bower,
Hm...I don't know exactly what I'm looking for in the registry. I don't know which variables I should be modifying to allow exits. Since I don't have the QM.INI file, I don't know what settings to look for or create.
Any suggestions?

thanks again!
--Selena
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » PUB/SUB :: Broker Configuration
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.