activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmocnik <>
Subject Rollback and acknowledge
Date Wed, 10 Dec 2008 12:19:25 GMT


I'm using ActiveMQ 5.1.0 to asynchronously send mail via an unrelyable mail
I'm using session.rollback() if a delivery attempt failed, since I couldn't
get redelivery done any other way.
(I'm using vm://localhost by the way)

Problem: Poison Messages. If a message really isn't deliverable because of a
user error or such, the server tries to redeliver this message until its
redelivery limit is reached. ALL subsequent messages that are sent before
the limit is reached are postponed.

Is there any way to just rollback one message?
Is there an alternative to session.rollback()?
What requirements are there for CLIENT_ACKNOWLEDGE to work?

Thanks and reagrds,
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message