This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Understanding JMSReplyTo 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 » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Understanding JMSReplyTo" Watch "Understanding JMSReplyTo" New topic
Author

Understanding JMSReplyTo

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

Source :EJB 3.1 Specification

5.4.20 Replying to a JMS Message


The Specification says that
" In standard JMS usage scenarios, the messaging mode of a message's JMSReplyTo destination (Queue or Topic) is the same as the mode of the destination to which the message has been sent "

I have a couple of questions.They are:

Question1. Does "the mode of the destination to which the message has been sent" means "the mode by which the request came to Destination or Endpoint(Queue or Topic) from client" ?
Question 2. What exactly is "JMSReplyTo " ?



OCPJP 6.0 93%
OCPJWCD 5.0 98%
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1624
    
  23

Question1. Does "the mode of the destination to which the message has been sent" means "the mode by which the request came to Destination or Endpoint(Queue or Topic) from client" ?

Yes, you could say it like that.

Question 2. What exactly is "JMSReplyTo " ?

If you are sending a message and you are expecting a response back you can fill in the Destination (JMSReplyTo) where you are expecting the response to come to. (just like the replyTo-address in an email)


Regards,
Frits
Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

Thanks Frits
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Understanding JMSReplyTo
 
Similar Threads
Sun ePractice Examination Errors - JMS
Who creates destination Queueor Topic
can MDB used for Topic listening?
JMS Q in clustered environment
Difference between Destination and queue/topic