• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

SOAP over JMS

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
The only cure for that is hours of television radiation. And this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic