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 » Clustering » Publish/Subscribe not working

Post new topic  Reply to topic
 Publish/Subscribe not working « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Tue May 29, 2007 5:13 pm    Post subject: Publish/Subscribe not working Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Hi,

I'm trying to setup publish/subscribe with Message Broker, but am having trouble.

In Broker Toolkit, I have create several topics to subscribe to (e.g. Test). I am using RFHUtilc.exe to test pub/sub. To start the utility, I have created a batch file with the following:

set MQSERVER=<channel name>/TCP/<server ip address>(1414)
set PATH=C:\opt\rfhutil - ih03;%PATH%
set PATH=C:\opt\rfhutil;%PATH%
start rfhutilc.exe

After opening up the utility with this batch file, I enter the queue manager name WBRK6_DEFAULT_QUEUE_MANAGER in the Queue Manager Name (to connect to) field under the Main tab. I click on the PubSub tab, and select Sub from the Request Type. I enter the Topic "Test/#", and PUB.SEND in the Subscription Queue field. (PUB.SEND is a queue on the queue manager WBRK6_DEFAULT_QUEUE_MANAGER). I select the queue manager from the drop down Queue Manager to Connect To menu, and then hit the Write Msg button.

When I go to the Broker toolkit and query subscrptions, I do not see anything in the list.

Am I missing a step or process?

The broker/config mgr, and queue managers are running.

Thanks in advanced!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 29, 2007 5:57 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you checked that your cluster channel definitions are correct?

Do you have two full repositories?

Can you use amqsput to send to a qcluster?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 29, 2007 7:44 pm    Post subject: Re: Publish/Subscribe not working Reply with quote

Grand High Poobah

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

rmah wrote:
Hi,

I'm trying to setup publish/subscribe with Message Broker, but am having trouble.

In Broker Toolkit, I have create several topics to subscribe to (e.g. Test). I am using RFHUtilc.exe to test pub/sub. To start the utility, I have created a batch file with the following:

set MQSERVER=<channel name>/TCP/<server ip address>(1414)
set PATH=C:\opt\rfhutil - ih03;%PATH%
set PATH=C:\opt\rfhutil;%PATH%
start rfhutilc.exe

After opening up the utility with this batch file, I enter the queue manager name WBRK6_DEFAULT_QUEUE_MANAGER in the Queue Manager Name (to connect to) field under the Main tab. I click on the PubSub tab, and select Sub from the Request Type. I enter the Topic "Test/#", and PUB.SEND in the Subscription Queue field. (PUB.SEND is a queue on the queue manager WBRK6_DEFAULT_QUEUE_MANAGER). I select the queue manager from the drop down Queue Manager to Connect To menu, and then hit the Write Msg button.

When I go to the Broker toolkit and query subscrptions, I do not see anything in the list.

Am I missing a step or process?

The broker/config mgr, and queue managers are running.

Thanks in advanced!


Yes you are missing a big step. Make sure your broker is at least 6.0.0.3

Make your subscribe messages request messages and specify a reply to qmgr and replyto queue, On the pub/sub tab ask for full feedback
Now when you send the subscription message you will get a feedback message (pscr). This will tell you if /why the subscription may have failed.

Before level 6.0.0.3 we had a lot of authorization problems... on pub/sub especially if RFHutil was not connected directly to the broker...

Enjoy
_________________
MQ & Broker admin
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 » Clustering » Publish/Subscribe not working
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.