How to obtain asynchronous response synchronously?
Insomescenarios,theresponsecomesasynchronously,likeJMS,or,requestviaa synchronoussocketconnectionandresponseviaacorrespondingasynchronoussocketconnection.Reference1: http://www.javacodegeeks.com/2013/