• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS question

 
Santhi Kudithipudi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to understand how request/response works in JMS (queues). Basically, I am placing a request in web browser and trying to use request/response service in JMS.

What would be the best approach to get response back when using JMS queue to send the messages?

Thanks in advance.

Santhi.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Santhi-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, messaging services can't be accessed by web browsers because they do not use the HTTP protocol (which is what browsers use). They also do not generally operate according to a request/response model, but a publish/subscribe model.

Given this, I'm not sure how to answer your question. Can you tell us in more detail what you're trying to do?
 
Kevin Smither
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you are asking about creating some kind of request/response model using conversation ID/corellation ID etc. Generally speaking as the previous poster said it's an async system. You have separate request and response queues and corresponding handlers. Not sure what else you are asking for?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic