• 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: 10128
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.
 
Forget Steve. Look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!