Weblogic File
This section shows the configuration of the mandatory resources and optional properties for TAFJJEE_MDB.jar/META-INF/weblogic-ejb-jar.xml.
The following code block presents the corresponding Weblogic 12.2.X configuration part for a given MDB called OFSTransactedMDB, which is in the <wls:weblogic-ejb-jar> section of the weblogic-ejb-jar.xml.
weblogic-ejb-jar.xml.
<wls:weblogic-enterprise-bean>
<wls:ejb-name>OFSTransactedMDB</wls:ejb-name>
<wls:message-driven-descriptor>
<wls:destination-jndi-name>jms/t24OFSQueue</wls:destination-jndi-name>
<wls:connection-factory-jndi-name>jms/ConnectionFactory</wls:connection-factory-jndi-name>
</wls:message-driven-descriptor>
<wls:resource-description>
<wls:res-ref-name>jms/TAFJQueueConnectionFactory</wls:res-ref-name>
<wls:jndi-name>jms/ConnectionFactory</wls:jndi-name>
</wls:resource-description>
</wls:weblogic-enterprise-bean>
…
<wls:message-destination-descriptor>
<wls:message-destination-name>jms/OFSReplyQueue</wls:message-destination-name>
<wls:destination-jndi-name>jms/t24OFSReplyQueue</wls:destination-jndi-name>
</wls:message-destination-descriptor>
The property values in the code block are explained in the following table. You can modify certain values, if required.
|
Xml path |
Example value |
Comment |
|---|---|---|
|
Ejb-name |
OFSTransactedMDB |
Indicates the ejb-name of the ejb-jar.xml. You can modify this value, if required. |
|
Destination-jndi-name |
jms/t24OFSQueue |
Indicates the name of the queue in weblogic jndi tree of the MDB. You can modify this value, if required. |
|
Connection-factory-jndi-name |
jms/ConnectionFactory |
Matches the default JMS resource connection factory in weblogic. You can modify this value, if required. |
|
Resources Reference Configuration |
||
|
res-ref-name |
jms/TAFJQueueConnectionFactory |
Configured the JMS connection factory for the response reply Queue. |
|
jndi-name |
jms/ConnectionFactory |
Matches the default JMS resource connection factory in weblogic You can modify this value, if required. |
|
Message Destination Descriptor |
||
|
Message-destination-name |
jms/OFSReplyQueue |
Matches the reply queue name defined in the message-destination-link in ejb-jar.xml. |
|
Destination-jndi-name |
jms/t24OFSReplyQueue |
Indicates the name of the reply queue in weblogic jndi tree. You can modify this value, if required. |
In this topic