activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmocnik <m.moc...@e-nnovation.at>
Subject Rollback and acknowledge
Date Wed, 10 Dec 2008 12:19:25 GMT

Hi,

I'm using ActiveMQ 5.1.0 to asynchronously send mail via an unrelyable mail
server.
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.

So:
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,
Marko
-- 
View this message in context: http://www.nabble.com/Rollback-and-acknowledge-tp20934209p20934209.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message