• Post Reply Bookmark Topic Watch Topic
  • New Topic

MDB: Determining which Queue or EJB-NAME a Message came in from...

 
Dave Turkel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!