java API code to get jndi name using jms alias
what is the exact question?
Which version of wM are you using?
Is it Broker or UM as Messaging Provider?
Refer to the appropriate Java-API-Documentation available from Empower, from here, or from your local installation if the Documentation component is installed.