Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8503655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:48:53+00:00 2026-06-11T01:48:53+00:00

Using WebSphere MQ I want to setup up a topic that uses queues, so

  • 0

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 …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:48:55+00:00Added an answer on June 11, 2026 at 1:48 am

    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.

    * First, define the topic
    DEFINE TOPIC('AF_TO_DAAS.TOPIC') +
       TOPICSTR('AF_TO_DAAS') +
       REPLACE
    
    * Now, create an alias over the topic.
    * Sending apps think this is a queue.
    DEFINE QALIAS('AF_TO_DAAS') +
       TARGET('AF_TO_DAAS.TOPIC') +
       TARGTYPE(TOPIC) +
       REPLACE
    
    * Queues for the two recvr apps
    DEFINE QLOCAL('AF_TO_APP1') +
       REPLACE
    
    DEFINE QLOCAL('AF_TO_APP2') +
       REPLACE
    
    * Now set up adminsitrative subs to route
    * messages to the two app queues.
    DEFINE SUB('AF_TO_DAAS.SUB') +
       TOPICSTR('') +
       TOPICOBJ('AF_TO_DAAS.TOPIC') +
       DEST('AF_TO_APP1') +
       PSPROP(NONE) +
       REPLACE
    
    DEFINE SUB('AF_TO_APP2.SUB') +
       TOPICSTR('') +
       TOPICOBJ('AF_TO_DAAS.TOPIC') +
       DEST('AF_TO_APP2') +
       PSPROP(NONE) +
       REPLACE
    

    Because this is a publication, the messages will contain a property Top which contains the topic string. The PSPROP(NONE) in the subscription entries causes this to be suppressed so the messages look like the original publication.

    Note also that the MQMD.MsgID on the publications is different than it is on the original message.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using WebSphere Application Developer Tools for Eclipse. How to deploy ear that contains
Good day. I just want to consult about using websphere as san application server
I want to use Server Managed connection pool in my web application,Now i'm using
I'm using websphere and Java EE and get this error message: Exception reading propertiesfile
I am using IBM Websphere Application Server v6 and Java 1.4 and am trying
I'm using IBM WebSphere as my servlet container. My application has several servlets and
I am using Websphere Application Server to create a typical web application where UI
I am using WebSphere Application Server v7.0 with Eclipse helious 3.6.2, it was working
I have a C application running on AIX 6.1 using Websphere MQ 6. The
I'm using IBM WebSphere 7.0 . I want to map CORBA naming service groups

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.