IBM Worklight v5.0.5 > Develop IBM Worklight applications > Develop the server side of an IBM Worklight application > The adapter XML File

The <jmsConnection> element of the JMS adapter

Use the <jmsConnection> element to identify how the IBM Worklight server connects to a messaging system.

Attribute Description
connectionFactory Name of the connection factory used when connecting to the messaging system. This is the name of the administered object in the JNDI repository. If you are deploying in WAS, the connection factory must be a global JNDI object. The object must be addressed without the java:comp/env context. For example:


...and not...


If you are deploying in Tomcat, the connection factory must be addressed including java:/comp/env

user Optional. User name of a user with authority to connect to the messaging system.
password Password for the user specified in the user attribute. Optional.

Parent The adapter XML File