This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one 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


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
Saloon Keeper

Joined: Apr 07, 2010
Posts: 1965
    
  39

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Understanding JMSReplyTo