activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdelgado <carlos.delg...@proyecti.es>
Subject Re: ActiveMQ not delivering messages
Date Wed, 09 Jan 2013 17:43:48 GMT
Thanks for your reply Dejan.

I just started to explore that solution.

So I appended to the connection URL
this: ?jms.prefetchPolicy.queuePrefetch=0

And now it's delivering the messages.

What I wonder is why this is happening in this environment and not in any
other we've tested. Any clue?

Thanks again,

 Carlos



On 9 January 2013 17:55, dejanb [via ActiveMQ] <
ml-node+s2283324n4661553h8@n4.nabble.com> wrote:

> 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4661553&i=0>
> Twitter: @dejanb
> Blog: http://sensatic.net
> ActiveMQ in Action: http://www.manning.com/snyder/
>
>
> On Wed, Jan 9, 2013 at 5:05 PM, cdelgado <[hidden email]<http://user/SendEmail.jtp?type=node&node=4661553&i=1>>
> 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.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/ActiveMQ-not-delivering-messages-tp4661471p4661553.html
>  To unsubscribe from ActiveMQ not delivering messages, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4661471&code=Y2FybG9zLmRlbGdhZG9AcHJveWVjdGkuZXN8NDY2MTQ3MXwtMTYyMjg3MjA5NQ==>
> .
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-not-delivering-messages-tp4661471p4661559.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message