• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Creating Temporary Model Queue in JMS

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I use IBM Websphere MQ and Websphere application server 7 in my project. I use JMS to send message to MQ. The Model queue - MYAPP.MSG.REQUESTQ has been created in MQ to be used as a template to create dynamic queues.

What I am trying to achieve is, I wanted to pass a userId (example: AB21211) while creating a temporary queue in JMS. The temporary queue has to be created something like MYAPP.MSG.REQUESTQ.AB21211 in MQ by using model queue name and userId. The receiver application will use model queue template and the userId to receive the message from the temporary queue.

But I don't find any option to pass userId in the below JMS synax to create named temporary queue, how could this be achieved ? We have done the similar thing in MQ in the past but never done in JMS. Also, I see an option in WAS admin console to input "WebSphere MQ model queue name"

Do I need to make any settings in WAS console to achieve this or it is not possible to do in JMS.

Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic