This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello All, I have one question regarding the JMS communication. I have JMS Queue installed on server side and my client don't want to install JMS to his side. I am exposing some methods as a web service through my server. My client will send me the SOAP message across HTTP. I am converting this soap-http message in to the soap-jms message. I will work on this request message and generate a response message for my client. My problem is as my client doesn't have any queuing mechanisum like JMS or MQ-Serires then how can I send back him the message. Here my main concern is reliability, security of message across communication i.e. end-to-end. So, if anybody has any suggestion then please let me know. Thanks in advance!
Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
Well, there's basically two solutions: (1) If the client can act synchronously, then synchronously wait on the message to be received back from the JMS queue and then return the message in the HTTP response for the original request. (2) A possibly better solution is to allow the client machine to poll for the answer. Have a service that checks a response queue for the answer and just have it either return null (no answer) or the final answer. Kyle