What prefetch limit are you using?

http://activemq.apache.org/what-is-the-prefetch-limit-for.html

Maybe you should use 0 prefetch for your use case

http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosa...@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Wed, Jan 9, 2013 at 5:05 PM, cdelgado <carlos.delg...@proyecti.es> wrote:
> As per further investigations, I have some logs to post.
>
> It's odd because the logs says that the message has been delivered but the
> consumer sisn't receive any. And in the next checkpoint activemq says that
> there is a pagedInMessage, where there shouldn't be any, right?
>
> What is the difference between dispatched and delivered?
>
> PLEASE HELP
>
> Server - stdout - DEBUG level
>
> 3361: 2013-01-09 16:33:24,963 [nsole] Task-127] DEBUG Queue
> - MYAPPQUEUE toPageIn: 0, Inflight: 0, *pagedInMessages.size 1*,
> enqueueCount: 0, dequeueCount: 0
> 3400: 2013-01-09 16:33:42,529 [2.137.0.43:4592] DEBUG AbstractRegion
> - web-console adding consumer: ID:carlos-PC-4565-1357745313020-0:2:1:1 for
> destination: queue://MYAPPQUEUE
> 3401: 2013-01-09 16:33:42,544 [2.137.0.43:4592] DEBUG Queue
> - queue://MYAPPQUEUE *add sub: QueueSubscription:
> consumer=ID:carlos-PC-4565-1357745313020-0:2:1:1*, destinations=0,
> dispatched=0, delivered=0, pending=0, dequeues: 0, *dispatched: 1*,
> inflight: 0
> 3402: 2013-01-09 16:33:42,544 [nsole] Task-128] DEBUG Queue
> - MYAPPQUEUE toPageIn: 0, Inflight: 0, pagedInMessages.size 1, enqueueCount:
> 0, *dequeueCount: 0*
> 3403: 2013-01-09 16:33:43,605 [2.137.0.43:4592] DEBUG AbstractRegion
> - web-console removing consumer: ID:carlos-PC-4565-1357745313020-0:2:1:1 for
> destination: queue://MYAPPQUEUE
> 3404: 2013-01-09 16:33:43,605 [2.137.0.43:4592] DEBUG Queue
> - queue://MYAPPQUEUE remove sub: QueueSubscription:
> consumer=ID:carlos-PC-4565-1357745313020-0:2:1:1, *destinations=1,
> dispatched=1*, delivered=0, pending=0, lastDeliveredSeqId: 0, dequeues: 0,
> dispatched: 1, inflight: 0
> 3405: 2013-01-09 16:33:43,605 [nsole] Task-128] DEBUG Queue
> - MYAPPQUEUE toPageIn: 0, Inflight: -1, pagedInMessages.size 1,
> enqueueCount: 0, dequeueCount: 0
> 3495: 2013-01-09 16:33:54,899 [sole] Scheduler] DEBUG Queue
> - queue://MYAPPQUEUE expiring messages ..
> 3496: 2013-01-09 16:33:54,899 [sole] Scheduler] DEBUG Queue
> - MYAPPQUEUE toPageIn: 0, Inflight: 0, *pagedInMessages.size 1*,
> enqueueCount: 0, dequeueCount: 0
> 3497: 2013-01-09 16:33:54,899 [sole] Scheduler] DEBUG Queue
> - queue://MYAPPQUEUE expiring messages done.
>
>
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-not-delivering-messages-tp4661471p4661546.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to