jms topic - Jms message acknowledgement -
i have issue related java messaging service ... problem: suppose jms publisher sends me 5 messages... when receive first 2 messages app processes n acknowledges it... removed topic... wen recv 3rd msg bcz of problem app not process 3rd message , dint acknowledge... 4th , 5th message got processed , acknowledged... wen chk admin console found 3rd message acknowledged...
i want know how acknowledge each message individually. has idea ???
note: m using client_acknowledge mode
according jms specification client_acknowledge
- acknowledging consumed message automatically acknowledges receipt of all
messages have been delivered session.
many jms providers have implemented above specification , hence don't provide acknowledging 1 message. jms providers (acitvemq ??) implement per message acknowledgement. need check jms provider if supports per message acknowledgement feature.
Comments
Post a Comment