osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)


Can you describe in more detail what is and isn't happening? Are you able
to consume some but not all messages, or do you get zero? Do you see a
consumer on the queue when you attach a JMX viewer such as JConsole to the
broker process? If so, do the JMX properties indicate that a message is
being dispatched to the consumer? What are you seeing in the logs (both
broker amd consumer)? What do you see if you turn the logging up to DEBUG?
Can you browse the messages via the web console?

Also, the fact that it works in 5.8.0 seems to indicate that it's not
related to the bug you referenced in your first thread, and the fact that
it doesn't work undet Java 7 seems to indicate that it's not related to
Java 8.

Tim

On Dec 28, 2017 2:08 AM, "sampath516" <sampath516@xxxxxxxxx> wrote:

> Hi All,
>
> The prefetch=0 option is not working for the combination: ActiveMQ
> 5.12-HTTP
> Transport-Java 7. It is working fine for tcp transport but not for http
> transport. Consumer is not able to pull messages from broker.
>
> One more observation is that prefetch=0 is working fine with
> ActiveMQ-5.8(with http transport).
>
> Please let us know whether it is a supported scenario or not. If supported,
> please guide us to resolve the issue.
>
>
> Thanks,
> Sampathi G
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>