Posted: Wed Nov 09, 2005 4:58 am Post subject: Multiple topic in a single Queueu
Apprentice
Joined: 21 Mar 2005 Posts: 27
Is it possible to create multiple topics in the same Local Queue thru WAS configuration? Like I have one connection factory, one base topic queue with different topic string and JND topic name.
As a result I can subscribe one queue on different topic name of the same local queue.
Topics and queues are related only through a subscription. This relationship is a many-to-many relationship.
Please read the Using Pub/Sub manual. It is in the MQ Info Center.
It is not good design to subscribe the same queue to many topics, necessarily.
Topics should be logically independant (otherwise, why are they different topics?). They should also be hierarchical. Thus, if you need to subscribe one process to several different topics, you should probably subscribe only to the common root of the different topics. And if you need to subscribe one process to several different topics that don't have a common root other than the root of your topic hierarchy, then you should refactor your process so that it isn't doing so many logically unrelated things. _________________ I am *not* the model of the modern major general.
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