2015-09-09 18:35 GMT-07:00 hkgot <[email protected]>:

> 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?
>
>
aQueue


> 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?
>
>
>
use destination activation config:
http://tomee.apache.org/jms-resources-and-mdb-container.html


>
> --
> 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