activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <>
Subject Re: Artemis JMX not showing queues
Date Fri, 29 Apr 2016 17:07:04 GMT
To be clear, calling org.apache.activemq.artemis.api.jms.ActiveMQJMSClient#createQueue simply
creates a a client-side representation of a JMS Queue (as the JavaDoc indicates).  Nothing
happens on the server when that method is invoked.

I opened to deal with this specific issue.
 You can find the technical details there.  In short, when the producer is created the server-side
core queue is created but the JMS related MBean is not.  This will be fixed shortly.


----- Original Message -----
From: "abhijith" <>
Sent: Friday, April 29, 2016 10:05:46 AM
Subject: Re: Artemis JMX not showing queues

First I am creating a connection factory using 

ActiveMQConnectionFactory cf =
ActiveMQJMSClient.createConnectionFactoryWithHA(JMSFactoryType.CF, server1,

Then I am creating client representation of queue

Queue queue = ActiveMQJMSClient.createQueue("xxxxx");

after that 

Connection cf = cf.createConnection();
Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
TextMessage message = session.createTextMessage(messageToSend);
MessageProducer producer = session.createProducer(queue);

I think queue got created because address-settings has <auto-create-queues>
true by default.

Please let me know if you need any further info


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message