JMS consumers not shown in management console

102 views
Skip to first unread message

Jason Pyle

unread,
Sep 19, 2019, 12:21:02 PM9/19/19
to rabbitmq-users
If I use the JMS api to create a consumer the consumer isn't shown in the management console. The consumer works as intended and I can see the messages flowing, just can't see it in the consumers tab or in the consumers info on the queue's page. Is this a known issue? Again I only see this issue if I'm using the JMS api. The amqp client shows the consumers correctly.

Michael Klishin

unread,
Sep 19, 2019, 8:08:10 PM9/19/19
to rabbitmq-users
This is not a known issue. What versions are used? What's in the log files? [1] How can we reproduce?

Please help others help you.


On Thu, Sep 19, 2019 at 7:21 PM Jason Pyle <seth....@gmail.com> wrote:
If I use the JMS api to create a consumer the consumer isn't shown in the management console. The consumer works as intended and I can see the messages flowing, just can't see it in the consumers tab or in the consumers info on the queue's page. Is this a known issue? Again I only see this issue if I'm using the JMS api. The amqp client shows the consumers correctly.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/bc2460dd-ef43-4ab6-b904-3ed9b122a70a%40googlegroups.com.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Jason Pyle

unread,
Sep 20, 2019, 10:59:49 AM9/20/19
to rabbitmq-users
This is with 3.8.0 RC 1 and nothing in the logs looks out of the ordinary.

However I think this can be disregarded. I was seeing the issue when using Spring JMS with RabbitMQ connection factories but if I use the raw RabbitMQ JMS client I see the consumers normally. I'll chalk it up to Spring doing something odd underneath.

Thanks


On Thursday, September 19, 2019 at 6:08:10 PM UTC-6, Michael Klishin wrote:
This is not a known issue. What versions are used? What's in the log files? [1] How can we reproduce?

Please help others help you.


On Thu, Sep 19, 2019 at 7:21 PM Jason Pyle <seth....@gmail.com> wrote:
If I use the JMS api to create a consumer the consumer isn't shown in the management console. The consumer works as intended and I can see the messages flowing, just can't see it in the consumers tab or in the consumers info on the queue's page. Is this a known issue? Again I only see this issue if I'm using the JMS api. The amqp client shows the consumers correctly.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

Arnaud Cogoluègnes

unread,
Sep 20, 2019, 11:27:26 AM9/20/19
to rabbitm...@googlegroups.com
You may be using Spring's DefaultMessageListenerContainer, which uses
a "loop of MessageConsumer#receive() calls". Those translate to AMQP
basic.get calls, so that would explain why there are no consumers in
the management console. Spring's SimpleMessageListenerContainer uses
asynchronous JMS MessageListeners, those should show up as AMQP
consumers.

You can also use Spring AMQP to directly use AMQP on top of Spring,
instead of bridging with JMS.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f4f9b230-61f5-47e4-82bf-b89a40f890b9%40googlegroups.com.

Jason Pyle

unread,
Sep 20, 2019, 11:43:52 AM9/20/19
to rabbitmq-users
Okay that makes a lot of sense, thanks.

We're definitely assessing Spring AMQP vs Spring JMS, we've got a lot of legacy JMS code and if we could port it over to RabbitMQ that would be awesome but we're still deciding.

I really appreciate the help.
Reply all
Reply to author
Forward
0 new messages