Using JMS resources

If you are using JMS resources with the Thin Client for JMS with WebSphere® Application Server, you can choose either to obtain these resources programmatically or using the Java Naming and Directory Interface (JNDI). Stand-alone Java SE JMS thin client applications that connect to an external IBM MQ queue manager can get administratively-created IBM MQ messaging provider JMS resources from the WebSphere Application Server Java Naming and Directory Interface (JNDI) namespace.

About this task

If you are using the Thin Client for JMS with WebSphere Application Server, you can obtain suitable JMS connection factories and references to JMS queues or topics programmatically without using JNDI. Alternatively, full JNDI support might be obtained from the Thin Client for EJB with WebSphere Application Server. For further information, refer to the Using JMS resources with the Thin Client for JMS with WebSphere Application Server topic.

If you are using a stand-alone Java SE JMS thin client application that connects to an external IBM MQ queue manager and want to obtain administratively-created IBM MQ messaging provider JMS resources from the WebSphere Application Server JNDI namespace, refer to the Obtaining IBM MQ JMS resources in the thin client environment topic.