posted 14 years ago
Hi,
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.
Thanks