permaculture playing cards
The moose likes EJB and other Java EE Technologies and the fly likes JMS question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS question" Watch "JMS question" New topic

JMS question

Santhi Kudithipudi

Joined: Jun 09, 2004
Posts: 2
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.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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

Joined: Oct 22, 2007
Posts: 30
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?
I agree. Here's the link:
subject: JMS question
It's not a secret anymore!