Feb 22nd, 2008, 07:21 PM
JMS Remoting | How does it work?
I have tried out the example in the spring reference documentation on JMS Remoting. I have be able to successfully get it working for a service to return the sum of 2 numbers passed from the client. However i would like to know how do things work internally
When i opened the active mq broker admin tool and observe the message sent across, only one message was sent on the queue configured in the spring xml. Shouldn't there be 2 messages, one for the request and one being the response?
So what is in the single message that was sent across? Request or response? or...?
Any pointers would be helpful.
Thanks in advance
Feb 23rd, 2008, 11:17 PM
Feb 25th, 2008, 09:04 AM
The message you saw was the request. I believe the response is sent on a temporary queue. You could check the source code to verify.