OK, I am going with system properties as per your suggestion. This is what I
set:

System.setProperty("aQueue",
"queue:org.apache.activemq.command.ActiveMQQueue:LISTENER");

aQueue is the queue name or queue is the queue name? 

With this I could create a message on the queue. How do I link my MDB listen
to this queue? What queue name should I use in ejb-jar.xml for my MDB?



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/How-to-reference-connection-factory-and-queues-from-code-tp4675980p4676166.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to