Forum Stats

  • 3,875,438 Users
  • 2,266,915 Discussions
  • 7,912,214 Comments

Discussions

JMS-client expects immediate response

901090
901090 Member Posts: 12
edited Nov 21, 2011 10:34AM in Java Message Service (JMS)
Hi,

Please look at below for my requirement:

JMS client(Sender.java) sends two numbers to JBOSS server and server code(Action.java) get numbers from client and add numbers. Result should be get on client side(Sender.java)(some thing like -> int result = response.get()) immediate after it sends numbers to server.

Is it possible, we can get immediate response on client side?

I think, by default jms suport asynchronous messaging and client should not expect immediate response. I think we can do some configuration and tell that this is immediate response type client(synchronous).

Any suggestions pls !


Thanks in advance !
Tagged:

Answers

This discussion has been closed.