Hi, Does anyone know how to get the "ejb-name" (or other deployment descriptor information) of an MDB from within a method (i.e "onMessage()")?
Background: I have a situation where a set of MDBs need to post to a parallel set of queues. The problem is that I have no good way of determining the name of the new destination queue. All the MDBs use the same implementation class and differ only by the attributes in the deployment descriptor, so the class name doesn't distinguish them. Thoughts? BTW - My current solution is to look at the Message (received in the onMessage()) and pull its name apart, but that may not work for all situations. Thanks, Erik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849738#3849738 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849738 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
