Thanks for your reply.
Actually i understood its purpose but i am confused in creating temperory queues.
As per my understanding the temperory queues are created dynamically and is used within the same connection and once the connection is closed the temperory queues are deleted.
So in this case how is it possible for another application to connect with this temperory queue and send the reply?
That's so but you should know that Connections are usually cached and not created every time a new message needs to be sent. Usage of temporary destinations for request-response in jms is standard architecture practise in enterprise systems. It has its advantages and disadvantages. Here is an excellent article explaining it's usage.
What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad: