• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

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 not set lab on fire. Or this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic