![[8.5.5.2 or later]](../ng_v8552.gif)

Configuring JMS connection factories
You can configure JMS connection factories that are provided by resource adapters that comply with the Java EE Connector Architecture (JCA) specification.
About this task
- javax.jms.ConnectionFactory: jmsConnectionFactory
- javax.jms.QueueConnectionFactory: jmsQueueConnectionFactory
- javax.jms.TopicConnectionFactory: jmsTopicConnectionFactory
To add JCA support for Liberty, you must edit the server.xml file using either the Source view of the Server configuration editor of the WebSphere®® Application Server Developer Tools for Eclipse, or some other text editor. Editing portions of the configuration for connection factories, administrative objects, activation specifications, and resource adapters in the Design view is not supported in the Beta.
Procedure
<jmsConnectionFactory jndiName="jms/cf" containerAuthDataRef="auth1">
<properties.MyAdapter serverName="localhost" anotherProperty="40"/>
</jmsConnectionFactory>
<authData id="auth1" user="user1" password="{xor}Lz4sLCgwLTtu"/>
<jmsQueueConnectionFactory jndiName="jms/qcf">
<connectionManager maxPoolSize="20" connectionTimeout="0"/>
<properties.MyAdapter serverName="localhost" vendorProp1="1"/>
</jmsQueueConnectionFactory>
<jmsTopicConnectionFactory jndiName="jms/tcf">
<properties.MyAdapter serverName="localhost" prop1="A" prop2="B"/>
</jmsTopicConnectionFactory>
Limitation: Editing the properties of the resource adapter configuration for connection factories, administrative objects, activation specifications, and resource adapters in the Design view of WebSphere Development Tools (WDT) is not supported.