Search code examples
jakarta-eewebspheremessage-driven-bean

Get queue name from within MDB


Is it possible to infer the name of the bound queue or listener port from within an MDB?


Solution

  • No. The best you can do is declare an env-entry with a description that indicates to the deployer that it should have the same value set as the queue or listener port name.