This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Who creates destination Queueor Topic

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3) I have a JMS MDB that is a listener for a destination of type Queue named "ShippingRequestQueue" as shown below.



If you observe in this above code there is a property defined as destination which has "jms/ShippingRequestQueue", this
property indicates that this JMS MDB is listening for messages on Queue named "jms/ShippingRequestQueue". Now my
question is
a) Who created this destination in this case Queue ?
b) Did EJB Container while deploying the MDB creates these Queue/Topic [destination] by reading the above property?
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take time to respond to this question.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Deepak Jain:
Please take time to respond to this question.


You create the Queue and assign it a JNDI name and deploy it to your JMS provider.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic