my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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: 1645
    
  25

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
 
Similar Threads
Difference between Destination and queue/topic
Sun ePractice Examination Errors - JMS
Who creates destination Queueor Topic
can MDB used for Topic listening?
JMS Q in clustered environment