Re: Artemis JMX not showing queues
Thanks for the prompt response. Will watch on the Jira. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-JMX-not-showing-queues-tp4711375p4711396.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Artemis JMX not showing queues
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 https://issues.apache.org/jira/browse/ARTEMIS-510 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. Justin - Original Message - From: "abhijith" To: users@activemq.apache.org 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, server2); Then I am creating client representation of queue Queue queue = ActiveMQJMSClient.createQueue("x"); after that Connection cf = cf.createConnection(); Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); TextMessage message = session.createTextMessage(messageToSend); MessageProducer producer = session.createProducer(queue); producer.send(message); I think queue got created because address-settings has true by default. Please let me know if you need any further info Thanks Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-JMX-not-showing-queues-tp4711375p4711387.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Artemis JMX not showing queues
First I am creating a connection factory using ActiveMQConnectionFactory cf = ActiveMQJMSClient.createConnectionFactoryWithHA(JMSFactoryType.CF, server1, server2); Then I am creating client representation of queue Queue queue = ActiveMQJMSClient.createQueue("x"); after that Connection cf = cf.createConnection(); Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); TextMessage message = session.createTextMessage(messageToSend); MessageProducer producer = session.createProducer(queue); producer.send(message); I think queue got created because address-settings has true by default. Please let me know if you need any further info Thanks Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-JMX-not-showing-queues-tp4711375p4711387.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Artemis JMX not showing queues
What exactly are you doing to create "different JMS queues from client programatically"? Justin - Original Message - From: "abhijith" To: users@activemq.apache.org Sent: Friday, April 29, 2016 8:40:46 AM Subject: Artemis JMX not showing queues Hi, I am trying out artemis and creating different JMS queues from client programatically. Code itself works, but when I log into JMX, I see that few queues are listed under "Core/Queue" with jms.queue.# prefix, but they don't appear under "JMS/Queue". I don't understand how this could happen. Attaching the image showing the same. Any insight into why this could happen, would be helpful. Thanks. <http://activemq.2283324.n4.nabble.com/file/n4711375/Screen_Shot_2016-04-29_at_10.png> -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-JMX-not-showing-queues-tp4711375.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Artemis JMX not showing queues
Hi, I am trying out artemis and creating different JMS queues from client programatically. Code itself works, but when I log into JMX, I see that few queues are listed under "Core/Queue" with jms.queue.# prefix, but they don't appear under "JMS/Queue". I don't understand how this could happen. Attaching the image showing the same. Any insight into why this could happen, would be helpful. Thanks. <http://activemq.2283324.n4.nabble.com/file/n4711375/Screen_Shot_2016-04-29_at_10.png> -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-JMX-not-showing-queues-tp4711375.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.