Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Dave Turkel
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
David Turkel
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!