> Is there a way to have a message to a DurableSubscriber delivered
> "exactly
> once" ??
> In my current setup, the publisher (publishes persistent messages) and
> the
> listener are both using
> AUTO_ACKNOWLEDGE but as soon as I restart the listener, all "old"
> messages
> are redelivered.

Session.AUTO_ACKNOWLEDGE works only for non-transacted sessions. It seems 
that your subscriber sessions are transacted. For transacted sessions you 
must use explicit commit.

> It would also help having a way to delete a persistent message on the
> router
> somehow.

Setting the message time-to-live (within the message producer) is the only 
way. You must also set an appropriate clean-up interval in the 
QueueManager config.

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to