You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jose María Zaragoza <de...@gmail.com> on 2013/07/15 20:27:16 UTC
JMS session transacted
Hello:
I would like to know if a JMS session is not transated but it's
auto-acknowledge , it allows redelivering the non-acknowledge messages
I've got a ActiveMQ broker in non-persistent mode and I would like t know
if it's required to use transactions for ensuring the delivery
Thanks and regards
Re: JMS session transacted
Posted by Christian Posta <ch...@gmail.com>.
On Mon, Jul 15, 2013 at 2:27 PM, Jose María Zaragoza
<de...@gmail.com>wrote:
> Hello:
>
> I would like to know if a JMS session is not transated but it's
> auto-acknowledge , it allows redelivering the non-acknowledge messages
>
On the consumer side, this won't happen -- when auto ack'd the broker sees
the message as "consumed" and will not attempt redelivery.
>
> I've got a ActiveMQ broker in non-persistent mode and I would like t know
> if it's required to use transactions for ensuring the delivery
>
You could also send the your non-persistent messages synchronously to know
whether or not the broker received it:
ActiveMQConnectionFactory#alwaysSyncSend == true
>
> Thanks and regards
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta