Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Understanding JMSReplyTo

 
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 " ?


 
Creator of Enthuware JWS+ V6
Posts: 3369
306
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Frits
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic