aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Who creates destination Queueor Topic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Who creates destination Queueor Topic" Watch "Who creates destination Queueor Topic" New topic
Author

Who creates destination Queueor Topic

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
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?


SCJP, SCWCD, SCBCD
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Please take time to respond to this question.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9427
    
    2

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.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Who creates destination Queueor Topic