activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Problem reading a Queue
Date Fri, 09 Aug 2013 19:30:30 GMT
It works with selectors and Auto Acknowledge?

What happens if you disable the cache with <policyEntry useCache="false"
..... />
http://activemq.apache.org/per-destination-policies.html


On Fri, Aug 9, 2013 at 6:28 AM, rafiki <rafael.fernandez@taisis.com> wrote:

>  I have a queue with a big size (more than one hundred thousand messages).
> I
> try to read the messages using persistence, session transacted and CorrelID
> message selector using JMS interface.
>
> When I read a message from first positions, it works fine, but if the
> message is in the last positions, the reading call stalled and never read
> the message. In the log I can see a EOFException.
>
> I tryed a lot of configurations from google results but anything worked,
> like modify the queue prefetch.
>
> This problem only happens when I use Session Transacted and a message
> selector. If you use autoaknowledge it works perfectly, but I need the
> Transacted mode.
>
> Someone knows where I should further investigate?
>
> Thanks in advance!!
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Problem-reading-a-Queue-tp4670234.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message