Using WebSphere MQ I want to setup up a topic that uses queues, so that when an application or inbound cluster connection attempts to put a message to a “queue”, it
actually uses a topic, and publishes it to 2 subscriptions, which are
themselves 2 separate queues. In essence, I want to go from an inbound
queue by name, but map it to 2 separate queues, like
AF_TO_DAAS is the inbound topic/which today is an actual
cluster queue alias
=>Goes to AF_TO_APP1 and
=>Goes to AF_TO_APP2
Sort of like if these were queues on a distribution list I suppose.
Those two things are local queues.
I’m getting lost in the /topic/node business mapping it to subscriptions
and model queues and what not …
WebSphere MQ allows an alias to point to a queue or a topic. It also provides a means to create a durable subscription administratively. To accomplish this setup, you connect the dots by replacing the existing alias with one that points to a topic. Then use two administrative subscriptions to route publications to the two (or more) queues.
Because this is a publication, the messages will contain a property
Topwhich contains the topic string. ThePSPROP(NONE)in the subscription entries causes this to be suppressed so the messages look like the original publication.Note also that the
MQMD.MsgIDon the publications is different than it is on the original message.