The <connectionPolicy> element of the JMS adapter
The structure of the <connectionPolicy> element.
The <connectionPolicy> element has the following structure:
<connectionPolicy xsi:type="jms:JMSConnectionPolicyType"> <!-- optional jndi repository connection details –-> <namingConnection url="jndi repository url" initialContextFactory="JMS provider initial context factory class name" user="optional jndi repository connection user name" password="optional jndi repository connection password"> <!-- end of optional jndi repository connection details –-> <jmsConnection connectionFactory="jndi connection factory name" user="messaging service connection user name" password="messaging service connection password"> </connectionPolicy>The <connectionPolicy> element has the following attributes:
Attribute Description xsi:type Mandatory. The value of this attribute must be set to jms:JMSConnectionPolicyType. The <connectionPolicy> element has the following subelements:
Subelement Description namingConnection Optional. Describes how to connect to an external JNDI repository. Only used if the JNDI objects are not stored in the JEE server that the adapter is deployed in. See The <namingConnection> element of the JMS adapter. jmsConnection Mandatory. Describes the connection factory and optional security details used to connect to the messaging system. See The <jmsConnection> element of the JMS adapter.
Parent topic: The adapter XML File