activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Lost non-persistent messages
Date Mon, 30 Jul 2012 10:28:19 GMT
iirc that is better in 5.6

On 30 July 2012 11:02, Tom Martinec <martinec@d3s.mff.cuni.cz> wrote:
> Hello,
>
> I observed a different behavior of activemq 5.4.2 when sending
> non-persistent messages to different cursors. The message producer is
> blocked when the cursor is set to VMCursor and the destination queue is
> full. On the other hand the producer's messages are lost when I use
> FileBasedCursor in the same situation. That makes me wonder what is the
> reasoning behind this. I would guess that the proper behavior would be
> blocking instead of getting the messages lost.
>
> By the way, the responsible code (in my guess) is in
> org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.tryAddMessageLast.
>
> Regards,
> Tomas
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Lost-non-persistent-messages-tp4654526.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message