Posted: Fri May 09, 2003 8:33 pm Post subject: Do I use pub/sub commands as I should be?
Apprentice
Joined: 05 May 2003 Posts: 35
Hi,
We are trying to implement the basic functionality of multiple publishers send messages to subscribers.
We have publishers publish to topics and subscibers subscribe to particular topics from particular publisher (no user name server or secured topics).
each subscriber registers by sending it's queue manager name and queue name for a particular topic name (a topic in our case is a combination betw topic and publisher "topic/publisher", e.g "topicA/pubA").
We used this because we thought we can use wildcards in registration/deregistration (e.g. deregsub "topicA/#"), but that didn't work as we thought.
so when a publisher "pubA" sends message in a topic topicA the message will be delivered to all the subsciber queues which were registered for that topic (for that publisher).
The problem now is that we cannot even deregister all the subscibers for a topic "topicA/pubA" using deregAll as descibed in the documentation and we get 3073 error code.
It turnes out that the deregsub command uses a default queue manager name = "broker queue manager name" (if the queue manager is not specified in the command) and of course that doesn't match any entry in the subscriptions (in our case, each subscription has the queue manager name and the queue name of the subscriber).
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