|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Publish/Subscribe not working |
« View previous topic :: View next topic » |
Author |
Message
|
rmah |
Posted: Tue May 29, 2007 5:13 pm Post subject: Publish/Subscribe not working |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue May 29, 2007 5:57 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue May 29, 2007 7:44 pm Post subject: Re: Publish/Subscribe not working |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|