Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Creating Temporary Model Queue in JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating Temporary Model Queue in JMS" Watch "Creating Temporary Model Queue in JMS" New topic
Author

Creating Temporary Model Queue in JMS

Viji San
Ranch Hand

Joined: Aug 12, 2010
Posts: 35
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
 
Consider Paul's rocket mass heater.
 
subject: Creating Temporary Model Queue in JMS
 
Similar Threads
Setting up MQ on WebSphere
WebSphere 5.1, JMS and JNDI
Creating JMS queues on the fly
000-341 sample test questions
Websphere 6.1.0.3 trail version --> Default JMS server problemm