• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Understanding JMSReplyTo

 
Mohit G Gupta
Ranch Hand
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 " ?


 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2402
92
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frits
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic