Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating Temporary Model Queue in JMS  RSS feed

Viji San
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!