activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhijith <topcoderabhij...@gmail.com>
Subject Re: Artemis JMX not showing queues
Date Fri, 29 Apr 2016 15:05:46 GMT
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("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);
producer.send(message);

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

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.

Mime
View raw message