comments inline 2015-09-07 19:02 GMT-07:00 hkgot <[email protected]>:
> Hi Romain, > > Thanks for the quick response. Appreacited!!! > > My problem is this: > > Active MQ runs as embedded inside Tomee. > > Remote client sends a message M1 to queue Q1 (Remote client) > MDB part of ear on the same Tomee receives and processes message M1 from > queue Q1 > MDB part of ear on the same Tomee sends another message M2 to queue Q2 > (Client part of EAR) > > Q1: How both clients can reference the same queues? > > if I read it right, activemq is using name + connection to identify a queue so referencing the same name and the right connection will do the job > Q2: what is the point of creating connection factory and queues in > Tomee.xml > if I create both dynamically on the client side? > > > the server needs it ;). No point for the clients. > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/How-to-reference-connection-factory-and-queues-from-code-tp4675980p4676154.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
