Example: Configure JMS provider, JMS connection factory and JMS destination settings for application clients
We can configure JMS Provider, JMS Connection Factory and JMS Destination settings.
Learn how to configure JMS Provider, JMS Connection Factory and JMS Destination settings.
- Required fields include:
- JMS Provider Properties page: name, and at least one protocol provider
- JMS Connection Factory Properties page: name, jndiName, destination type
- JMS Destination Properties page: name, jndiName, destination type
- Special cases:
- The destination type must be QUEUE, or TOPIC.
- Example:
<resources.jms:JMSProvider xmi:id="JMSProvider_3" name="genericJMSProvider:name" description="genericJMSProvider:description" externalInitialContextFactory="genericJMSProvider:contextFactoryClass" externalProviderURL="genericJMSProvider:providerUrl"> <classpath>genericJMSProvider:classpath</classpath> <factories xmi:type="resources.jms:GenericJMSDestination" xmi:id="GenericJMSDestination_1" name="jmsDestination:name" jndiName="jmsDestination:jndiName" description="jmsDestination:description" externalJNDIName="jmsDestination:externalJndiName" type="QUEUE"> <propertySet xmi:id="J2EEResourcePropertySet_15"> <resourceProperties xmi:id="J2EEResourceProperty_17" name="jmsDestination:customName" value="jmsDestination:customValue"/> </propertySet> </factories> <factories xmi:type="resources.jms:GenericJMSConnectionFactory" xmi:id="GenericJMSConnectionFactory_1" name="jmsCF:name" jndiName="jmsCF:jndiName" description="jmsCF:description" userID="jmsCF:user" password="{xor}NTIsHBllMT4yOg==" externalJNDIName="jmsCF:externalJndiName" type="QUEUE"> <propertySet xmi:id="J2EEResourcePropertySet_16"> <resourceProperties xmi:id="J2EEResourceProperty_18" name="jmsCF:customName" value="jmsCF:customValue"/> </propertySet> </factories> <propertySet xmi:id="J2EEResourcePropertySet_17"> <resourceProperties xmi:id="J2EEResourceProperty_19" name="genericJMSProvider:customName" value="genericJMSProvider:customValue"/> </propertySet> </resources.jms:JMSProvider>
Related tasks
Configure new JMS providers with the Application Client Resource Configuration Tool