This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python 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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!