liquidd wrote:
> 
> 3. Sending 1 incorrect messages.
> 4. Consumer doesn't aknowledge them and continuing listen for other
> message. (ActiveMQ keeps incorrect message).
> And here problem:
> 5. Sending 1 correct message.
> 6. Consumer successfully reads 1 message and 1 times acknowledges.
> 7. Incorrect message DISSAPEARED from ActiveMQ!
> ...
> 

Hi,

I may be wrong, but as I understand it, the mechanics of message
acknowledgement mean that when you acknowledge ANY message, you acknowledge
ALL prior messages.

I believe that there is a feature called a 'dead letter' queue that you can
use to manage these types of things (do a quick google on something like
'ActiveMQ acknowledge dead-letter').  This is just what I recall from my
browsing of some JMS documentation, so perhaps someone more knowledgeable
can fill us both in ;-)

-- 
View this message in context: 
http://www.nabble.com/Subscribe-%2B-Client-aknowledge-problem-tp23020938p23268490.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to