activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQ as email spool
Date Tue, 07 Oct 2008 13:39:11 GMT
2008/10/7 Markus Wolf <markus.wolf@nmmn.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> we try to setup an email spool using activemq.
> But we are struggeling with a guaranteed delivery. We have a queue for
> email send requests which is configured with a camel route and a
> try-catch block where the emails are put into another queue if an
> exception occured.
> The error queue should try a second attempt after 15 minutes, also as
> camel route. We tried to use a delayer for this, but in case of broker
> shutdown this messages are lost, because the message is already removed
> from the queue.
>
> Is there a way around this problem? We already tried to use
> CLIENT_ACKNOWLEDGE but it does not seem to work either.
> I've also read the thread james had with a developer from james. They
> tried the same, but I'm not sure if they succeed.

Use transacted mode - see the section on "Enabling Transacted Consumption"
http://activemq.apache.org/camel/jms.html
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message