| Article: |
Designing Messaging Applications with Temporary Queues | |
| Subject: | Interesting, but why messaging? | |
| Date: | 2007-04-23 05:36:52 | |
| From: | zanfolim | |
|
I might have missed the point here, but why would someone use messaging for handling a synchronous request? Wouldn´t it be better to just handle it in a synchronous call (xml over http, rmi, or some other remote protocol)?
|
||
Showing messages 1 through 1 of 1.
-
Interesting, but why messaging?
2007-04-23 07:53:28 ThribhuvanThakur [View]



If you already using JMS and wanted to support synchronous calls, then JMS is the way to go. JMS promotes building loosely coupled systems and persistence messages (dependability). If your application does not have strict response requirements, JMS will queue the request(either syn or asyn) when the service is temporarily unavailable and the message will persist until the service is ready -- after which your application would continue normally.
Thanks, I should have added more along these lines. I agree.