Re: Finding the Queue Name Used or "EJB Name" of a Generic MDB in "onMessage()"
Thursday, March 4, 2004 08:07 AM
Couple of ways I could think of. Either the message on the onMessage has some information of the target EJB/Queue.
javax.jms.Message getJMSDestination() returns a destination. Looks like this is a target destination, since these are references in java they should contain source information. Also not sure if getPropertyNames enumenration could have some information, depending on the container implementation.