| Author |
Basic question about JMS
|
Rizwan Mohammad
Ranch Hand
Joined: Sep 02, 2005
Posts: 445
|
|
Hi, Sorry for the simple question. But this is puzzling my mind very much. When we send a message to JMS proivder/IBM MQ, why we need acknowledgement? If send request succeeds doesnt mean that message has reached the actual message queue. Thanks in advance.
-Rizwan.
|
Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
|
 |
Marco Ehrentreich
best scout
Bartender
Joined: Mar 07, 2007
Posts: 1220
|
|
JMS offers reliable messaging which basically means the JMS provider has to ensure that a message is really consumed (only once) by a client. Therefore you either have to use transacted sessions or you explicitly have to acknowledge each message in order to mark it as "consumed".
This article explains it in more detail.
Marco
|
 |
Rizwan Mohammad
Ranch Hand
Joined: Sep 02, 2005
Posts: 445
|
|
|
Thanks Marco. You pointed out to very nice article.
|
 |
 |
|
|
subject: Basic question about JMS
|
|
|