MDB: Determining which Queue or EJB-NAME a Message came in from...
posted 13 years ago
Hi, I'm trying to create a dispatcher-type framework using MDB's. I have a single MDB class (SimpleMDB), which I have configured to listen to multiple Queues, using different EJB Names for those queues. This mechanism works fine-- messages come in and execute the single onMessage() method regardless of queue. NOW- I need to find out either the configured EJB Name ("ejb-name" in the descriptor), or the queue name the message came in from to do my dispatching logic. Anyone have any ideas??? Thanks, David Turkel