Configuring XML Descriptor Files
Configure Weblogic-ejb-jar.xml to point to the webMethods Broker that is used as a JMS provider as shown in the XML sample:
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>SampleMessageDrivenBean</ejb-name>
<message-driven-descriptor>
<destination-jndi-name>SampleMDBTopic</destination-jndi-name>
<initial-contextfactory>
com.webmethods.jms.naming.WmJmsNamingCtxFactory</initial-contextfactory>
<provider-url>wmjmsnaming://Broker
#1@localhost:6849/JMSAdminTest</provider-url>
<connection-factory-jndi-
name>SampleMDBConnectionFactory</connectionfactory-
jndi-name>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>